Contents tagged with ASP.NET 3.5
-
Tip 15 : Deploy ASP.NET 3.5 Application to Windows Server 2008 R2 and IIS 7.5
You have ASP.NET 3.5 web application deployed to windows server 2008 R2 and IIS7.5. The physical location of the application is C:\MyWeb. You receive errors when you use IIS Manager to browse the application. The following is the check list that can help you prevent the errors from occurring.
-
Architect 2 : Calling WCF Services in Your Data Access Layer
After you have completed an N-tier Silverlight application (check my blog: http://weblogs.asp.net/stanleygu/archive/2009/12/20/building-n-tier-silverlight-application.aspx ), your company decides to outsource sql server database development and management to a third party vendor. In your data access layer, instead of calling the sql server database directly, you will need to call the WCF services provided by the vendor.
-
Tip 5 : The name ‘ErrorMessageLabel’ does not exist in the current context
At Siverlight application test page, you add an ASP.NET label control:
-
Architect 1 : Building N-Tier Silverlight Application
You have a Customer table with fields of LastName and FirstName, and want to use Silverlight DataGrid to display all the records. To implement this, You can use N-tier application architect.
-
Solution 4 : Export Silverlight DataGrid to Excel XML
While ASP.NET GridView control supports data export to Excel, Silverlight DataGrid control does not. To implement the data export, you need to retrieve data from the DataGrid and write the data to an Excel XML file (Office Open XML File Format).
-
Tip 2 : Silverlight-Enabled WCF Service Deployment: Modify ServiceReferences.ClientConfig
When deploying Silverlight application, you will need to unzip the xap file, modify ServiceReferences.ClientConfig, and zip back the xap file. While there are other options such as modifying the ServiceReferences.ClientConfig before the last build or using code to bypass the ServiceReferences.ClientConfig, the unzip/modify/zip approach is the best because it separates the concerns between development and deployment as well as coding and configuration.
-
Tip 1 : WCF Service Deployment: Leave IIS-Hosted Service Endpoint Address Blank
In client configuration, it is required to specify an absolute address of endpoint. However, in IIS-hosted service configuration, it is required to specify a relative address. IIS manages the ServiceHost instance, which provides base address for service.
-
Solution 3 : Passing Parameters from ASP.NET Page to Silverlight XAML
You have captured the login name and computer IP address in your ASP.NET page and you want to use the login name and IP address in your Silverlight XAML page for display, logging or access control. To implement this, you will need to pass the user name and IP address from the ASP.NET page to the Silverlight XAML.
-
Solution 2 : Implementing GoToScreen Using Silverlight 3.0
You have two xaml pages named Screen1 and Screen2. On Screen1, there is a button named GoToScreen2Button. On Screen2, there is a button named GoToScreen1Button. Clicking on the GoToScreen2Button brings you to Screen2, and clicking on the GoToScreen1Button brings you to Screen1.
-
Solution 1 : Determining which datagrid has focus