There is no formal build and publishing process for Websites in Visual Studio 2010, it is really a set of files and folders. If you use the web site templates while creating a project in Visual Studio 2010 then publishing experience is vastly different from what available on web application projects. New updates have been released for improving publishing experience in Visual Studio 2010 and...
ASP.NET and Visual Studio loves HTML5
ASP.NET and HTML5 works together and in fact ASP.NET & Visual Studio loves HTML5. You can do everything in HTML5 using ASP.NET server language. This post explains some examples how asp.net works with HTML5.
Example:
Using new HTML5 capabilities in ASP.NET File upload control, First thing remove the text after html in DOCTYPE tag in your aspx page then your document is HTML5.
Encrypting the session with SSL in SQL Server
Network packets are human-readable using a packet sniffer when SQL results passing between client machine and SQL server. Tabular Data Stream(TDS) is the protocol used by SQL server to form packets to be sent through the network. This post explains the steps to encrypt a session with SSL in SQL Server.
Below is the screenshot of packet sniffer when data flowing from server to client
Login mapping errors on restored database
If you move a database from one server to another using backup\restore or detach/attach option then there is a chance of users become orphaned. Users logins mapping done by the SID and if there is a login present on the destination instance with same name but another SID then the user will not recognize and orphaned. Login mapping problem occurs only with SQL Logins when you move the database to...
Configuring Auditing in SQL Server 2012
The auditing session allows you to record events that occurring at server level or database level in file or in the windows event log. You can easily setup audit in SQL Server 2012 with Server Audit, define an audit and bind a specification that contains events to collect it. Database level auditing is only available in the Enterprise Edition. Follow the below steps to setup SQL Server Audit 1...
Creating a custom sequential workflow in SharePoint 2010
SharePoint supports state machine and sequential workflows. In Sequential Workflow the activities are placed in logical order with a start and an end. Sequential workflows can be used in automated processes where a manual interaction like moving documents to library. In SharePoint, Workflows can be associated with libraries, lists and sites. Site workflows are introduced in SharePoint 2010 and...
Creating a custom event handler in SharePoint 2010
SharePoint fires different events when you create custom event receivers. The events triggered by SharePoint are List Item events, List Email events, List Workflow events and Feature events. These can further classified into synchronous and asynchronous events. Synchronous events are executed on the same thread as the code, before sending response to the browser. Asynchronous events are those...
Creating simple windows store App with C#
This post describes the steps to create windows store App with C# and xaml. Before you start you need to have window 8 installed and you also need to install Microsoft Visual studio 2012 express for windows 8 which can be downloaded from here and also need developer license, you obtain the developer license from store menu
Creating an OData service on the .NET Framework
Open Data Protocol is a web protocol for accessing information via services. It is built upon technologies such as XML and JSON. The main component for building the OData service on .NET Framework is WCF Data Service. OData service can support different data source models including ADO.NET Entity Framework. LINQ to SQL etc. This post outlines the steps to creating an OData service on the .NET...
Deployment options for Windows 8 Line of Business Apps
Windows 8 is the platform for creating line of business applications which increase productivity and allows the employees to interact with their PC in more natural way. Apps normally targeted to the general consumer. A consumer App is marketed and can be installed by the entire world, but Line of Business application is generally deployed to the users that take part in business operations for the...