Wednesday, February 26, 2014

ASP.NET MVC 5 – CRUD operations with Entity Framework 6 on Visual Studio 2013

MVC5 – Demo with Entity Framework 6 on Visual Studio 2013 Using MVC, Entity Framework, and ASP.NET Scaffolding, you can create a web application that provides an interface to an existing database.


Using MVC, Entity Framework, and ASP.NET Scaffolding, you can create a web application that provides an interface to an existing database table. This demo shows you how to automatically generate code that enables users to display, edit, create, and delete data that resides on the database. The generated code corresponds to the columns in the database table.
This demo focuses on using ASP.NET Scaffolding to generate the controllers and views.

click following link for more details
http://code.msdn.microsoft.com/MVC5-Demo-with-Entity-c6bc81df

Chat Web Application in Real Time using ASP.Net MVC and SignalR

The ASP.NET SignalR is an open source library that facilitates the implementation of real-time communication, updates / notifications asynchronously in an application.

Sample

How to start?
You need Visual Studio 2010 SP1 or Visual Studio 2012

Start a project ASP.Net MVC
Install ASP.Net SignalR Nuget by:


PowerShell
Install-Package Microsoft.AspNet.SignalR

Click below link for more details

http://code.msdn.microsoft.com/Chat-Web-Application-in-9a86e594

Tuesday, February 25, 2014

ASP.Net SignalR

ASP.NET SignalR is a new library for ASP.NET developers that makes it incredibly simple to add real-time web functionality to your applications. What is "real-time web" functionality? It's the ability to have your server-side code push content to the connected clients as it happens, in real-time.

You may have heard of WebSockets, a new HTML5 API that enables bi-directional communication between the browser and server. SignalR will use WebSockets under the covers when it's available, and gracefully fallback to other techniques and technologies when it isn't, while your application code stays the same.

SignalR also provides a very simple, high-level API for doing server to client RPC (call JavaScript functions in your clients' browsers from server-side .NET code) in your ASP.NET application, as well as adding useful hooks for connection management, e.g. connect/disconnect events, grouping connections, authorization.

For more details, click following links with examples...

http://signalr.net/
http://code.msdn.microsoft.com/ASPNet-Tic-Tac-Toe-Game-30edd715