Skip to content
Archive of posts filed under the Asp.Net category.

Silverlight WebSockets – Duplex Communication

A duplex communication system is a system composed of two connected parties or devices that can communicate with one another in both directions. Duplex communication is required when you need to send some data in the reverse direction i.e. from Server to client. For scenario purpose assume that something happens on server (some event is [...]

ASP.Net and Ajax

AJAX (Asynchronous JavaScript and XML) is arguably one of the most hyped technology acronyms around. The primary advantage of using AJAX is that page refreshes can be minimized, allowing users to get the information they need quickly and easily through a more rich and functional interface. Ajax accomplishes this by using JavaScript and an XmlHttp [...]

ASP.Net Basic

In this article we will explore the ASP.Net page events and stages which are part of page life cycle. Before we go ahead i would like to review what we have learnt so far in previous articles related to ASP.Net. IIS: IIS (Internet Information Server) is a Microsoft Web server that makes it possible to quickly and [...]

ASP.Net Internals

In the previous article IIS 6.0 article we have learnt how IIS routes web request to ASP.Net ISAPI “aspnet_isapi.dll“.In this article we will looks at find how web requests flow through the ASP.NET framework , from Web Server, through ISAPI all the way up the request handler and your code.ISAPI is a low level unmanged [...]

Implementing Silverlight Faults in SL 3.0 with RIA Domain Services – Fix 2

Last month i have post article on how to host Silverlight (With RIA Domain services) project on shared domain. In that article (Link is Here ) some web.config settings are recommended to configure RIA end points. While working tonight i have noticed that Silverlight clients are not able to catch exceptions raised by DomainService ! [...]

Configure .Net RIA Service – hosted on shared domain

1.Mark “copy to local” these 3 assembly in your web project: 1) System.Web.DomainService 2) System.Web.Ria 3) System.ComponentModel.DataAnnotations This will deploy above mentioned assemblies in you bin folder Test your web service via like http://www.yoursite.com/virDir/namespace-Web-AuthenticationService.svc where namespace.Web.AuthenticationService is your RIA domain service. Internally at runtime RIA replaces . with – Here you will get error as [...]

Configuring RIA to use roleManager, membership and profile.

Create Silverlight Project “Business Navingation application” in Visual Studio 2010 Beta 2 and configure SQL express database to generate schema for rolemanager, membership and profile feature using command Launch Visual Studio Command prompt (Run as administrator)Type command Aspnet_regsql.exe –E–S sqlinstance–A rmpThis will create sql express database aspnetdb Visit links to see how to configure components [...]