Archive by tag: ASP.NETReturn

Token Based Authentication for Web API's

Securing ASP.NET Web API using Custom Token Based AuthenticationProviding a security to the Web API’s is important so that we can restrict the users to access to it. We can provide the security in two different ways: Basic authentication. Token based authentication.In this blog, we will discuss how we can implement token based authentication. Below diagram shows the control flow of token based authentication.Fig: Token based authentication for Web API’s.How token based authentication...
Read More

ASP.NET: Audit Trail Implementation using Entity Framework

When you are working with certain projects which involves the Customer records, you might need to track of each and every addition/change made to system along with who create, modify and delete the records. Here I am going to show you how to implement the Audit Trail using Entity Framework in ASP.NET. Entity Framework keeps track of entity objects when we have modified them. Here I am going to use the ‘ObjectStateManager’ which is EF’s caching management object to access t...
Read More

Dependency Injection on SignalR

                                                       Dependency Injection on SignalR​This article shows how to perform dependency injection on SignalR hubs.Dependency injection is a way to remove hard-coded dependencies be...
Read More

Create custom project templates in Visual Studio

Visual studio installation comes with the various predefined project templates, and we can use one of these templates (like console application, class library, ASP.NET web application, etc) to create a new project.We can create custom project templates and have they appear in create new project dialog under the project selection templates.Here I would show you the step by step procedure on how to build the custom solution template with multiple projects, configuring it in visual studio and have ...
Read More

Part 2 of KnockOut.js in Asp.Net

Computed Observables:                                            Functions which are dependent on one or more observables and will automatically update whenever any of the dependencies altered.Eg: If we want to display full name based on first name and last name thenStep 1: Declare vi...
Read More

Introduction on SignalR

Introduction on SignalRReal–Time Web ApplicationThe real-time web is a set of technologies that enable users to receive information as soon as it is published by its authors, rather than requiring that they or their software check a source periodically for updates.Examples of Real–Time Web Application Development News feed and Notifications in Facebook New updates in Twitter Google Search Google DocsHistory of ASP.NET SignalRDamian Edwards (a program manager on the Microsoft ASP.NET ...
Read More

How to upload documents to SharePoint 2013

IntroductionSharePoint is a browser-based collaboration, content management, and extensible platform from Microsoft. The latest release of the product is SharePoint 2013.In this article I will explain about one of the frameworks used for development in SharePoint 2013,   Client-side object model (CSOM). I am going to add a document through code to a SharePoint document library. I am going to use SharePoint object model to add document.SharePoint 2013 provides a new client object model ...
Read More

Introduction to KnockOut.Js in Asp.Net

What is KnockOut.Js?Knockout.Js (simply KO) is a powerful JavaScript library which allows developers to bind DOM elements with any data model like array, Json etc.It built up on two way data binding between UI and data model i.e. if any changes made to data model are affected to UI as well as any changes made to UI are affected to data model.It’s not alternative to JQuery or any other libraries.It provides easy and understandable way to manage any type of complex data driven models as inst...
Read More

Introduction to Amazon S3 (Simple Storage Service) and EC2 (Elastic Cloud Computing) in Asp.Net

S3 is an Internet storage engine which has to be designed to make job easier for developers.Developers can upload, manage and control access to data that is stored on Amazon’s Servers through simple API’s which are provided by Amazon and Other third party Components. It's a highly flexible, scalable, reliable, fast, and inexpensive storage infrastructureIt lets users to store unlimited number of objects up to 5GB free for single account.On the Other side Users has to pay mon...
Read More

How to use Model Binding with ASP.NET Data Controls

IntroductionASP.NET 4.5 provides a flexible alternative to server data controls called as, Model Binding. Using the new data model binding, you can directly use methods instead of data source to perform CRUD operations.In this article I will explain in detail how we can implement Model Data Binding with ASP.NET data controls. Here I am showing you some examples on GridView control, the same applicable to other data controls.Creating a Sample WebsiteNow let's create a web form that illustrate...
Read More
Page 1 of 2 FirstPrevious [1]2 Last

  • Recent
  • Popular
  • Tag
Monthly Archive
Subscribe
Name

Contact Us
  • *
  • *