By C Miller, on September 16th, 2011%
Sometimes we need to use controls like TextBox, TextBlock etc (that set their width automatically depending on content) in a ListBox’s ItemTemplate. If we need to draw Borders or assign Background colors to each such controls then we may end up having non-equal rows. Here’s a sample markup:
Here’s the output for the above XAML:
A quick thought . . . → Read More: Silverlight Hosting: How to make items stretch horizontally in a ListBox
By C Miller, on September 13th, 2011%
Entity Framework 4 allows us to create complex types. Typically, such types are used to get the result of a stored procedure. However, when we try to send such a complex type using a WCF RIA Domain Service, the following error is encountered.
What to do? Adding attributes to EF designer generated classes is a bad idea; . . . → Read More: RIA Service Hosting :: How to send complex types to the Client
By C Miller, on September 8th, 2011%
In SharePoint 2007, if you created a new site collection using the ‘Collaboration Portal’ template, it would come with a number of sites, including the Search Center. In SharePoint 2010, this is no longer the case. There isn’t a Collaboration Portal template for starters, the nearest you’ll find is the Enterprise Wiki template which is my . . . → Read More: Sharepoint Server 2010 Hosting :: How to Install Sharepoint 2010 Search Function
By C Miller, on July 13th, 2011%
Blogengine.Net 2.5 has just been released and the following are some the features you can find on this new blogging tool:
- Upgraded to .NET 4.0
- Multiple Blogs in Single Installation
- Razor Theme support (Razor theme included, “Garland-Revisited”)
- Converted Admin pages to Razor (Dashboard, Extensions, Themes)
- Install Themes from the BlogEngine.NET Gallery while in the BlogEngine.NET control . . . → Read More: BlogEngine.NET 2.5 Hosting with ASPHostCentral.com
By C Miller, on July 7th, 2011%
The advantages of using JSON enabled WCF service is that the data is communicated in plain text like stream, it does not require any data/message parsing. For exposing a WCF service as JSON enabled WCF service, we need to apply the [WebGet] attribute on the method of the ServiceContract with ResponseFormat as JSON. The binding used . . . → Read More: JSON WCF Hosting :: Working with JSON Service in WCF Application
By C Miller, on July 5th, 2011%
Yesterday I encountered the following question in the MSDN forums about calling a cross-domain WCF RESTful service from Chrome.
The problem with doing the above is because there is a cross-domain call to a WCF service. When you are using Chrome, the browser tries to find out if it can do the call by sending a cross-origin . . . → Read More: Silverlight WCF Hosting :: Cross-Origin Resource Sharing (CORS) and WCF
By Wayne Plotche, on June 7th, 2011%
Introduction
This article describe brief tutorial about how Workflow 4.0 can be used to control page navigation in ASP.NET. If you are new to Workflow 4.0, please go through the MSDN documentation to understand how it works since the scope of this article is limited to workflow creation.
Background
Technology used for this sample: .NET 4.0, Visual Studio 2010, . . . → Read More: ASP.NET 4 Hosting :: How to Use Workflow 4.0 in ASP.NET Page Navigation
By Stephen Jackson, on May 13th, 2011%
ASPHostPortal is a premiere web hosting company that specialized in Windows and ASP.NET-based hosting. ASPHostPortal has proved its existence in hosting company by supports the new Microsoft Web Matrix Hosting. This application is pre-installed on the server and it allows you to install several world-class favorites application, such as DotNetNuke, nopCommerce, etc. For more information about . . . → Read More: Press Release – ASPHostPortal Offers Microsoft Web Matrix Hosting
By C Miller, on May 11th, 2011%
If you are writing code for a while now then by now you must have a lot of code snippets which you will be using in your application development, and you use them because they save a lot of development time. At this moment we have now a huge collection of code snippets which includes functions, . . . → Read More: WPF Hosting :: Working with WPF Syntax Highlight
By C Miller, on May 4th, 2011%
We upgraded a Silverlight 3 RIA application to Silveright 4 bits. Once we fixed all the errors, it appeared that RIA generated entities were “over-validating” themselves. We noticed that all the string entities that were marked not-nullable in database were giving validation errors saying “Field XYZ is required”. We looked through the attribute metadata classes and . . . → Read More: WCF Hosting :: WCF RIA Service adding extra Required attribute on generated classes
|
|
|