Tags » ASP. NET

IdentityServer & IdentityManager, Updates and the .NET Foundation

It’s busy times right now but we are still on track with our release plans for IdentityServer (and IdentityManager, which will get more love once IdentityServer is done).  151 more words

WebAPI

Debugging the WCF Serialization

When you expose the WCF service with RESTful endpoints with json format and try to consume the same, You might have experienced the following error in your fiddler. 301 more words

Technology

Custom GridView Pagination from Stored Procedure (DataBase)

SETANSI_NULLSON

GO

SETQUOTED_IDENTIFIERON

GO

– =============================================

CREATEPROCEDURE GetCustomersPageWise

      @PageIndex INT= 1

      ,@PageSize INT= 10

      ,@RecordCount INTOUTPUT

AS

BEGIN

      SETNOCOUNTON;

      SELECTROW_NUMBER()OVER

      (

            ORDERBY ASC

      )AS RowNumber… 32 more words

SQL Server

Get DataSet from XML File in ASP.Net C#.

DataSet ds = new DataSet();

ds.ReadXml(Server.MapPath(“~/Customers.xml”));

// You  can  use this  data Set as DataSouse  to bind Grid etc..

Asp.Net

Add MasterPage Dynamically from CodeBehind asp.net c#

protected void Page_PreInit(object sender, EventArgs e)
{
string masterPath = string.Empty;
string _userType = Request.QueryString["sType"].ToString();
switch (_userType)
{
case “User”:
masterPath = “~/User/Master/”;
Page.MasterPageFile = masterPath + “UserMaster.master”; 19 more words

Asp.Net

Get XML from DataSet and convert into html using xslt dynamuically

protected void UseXslt()
{
XmlDocument xDS = new XmlDocument();
DataSet ds = new DataSet();
// ds = // Get DataSet from  DataBase.
xDS.LoadXml(ds.GetXml());
string sType = string.Empty; 137 more words

Asp.Net

Adding a class Library to existing windows form

Right CLick on Class Library then click on add new item.
add a class and name it class library.

in class ClassLibrary
add new method ‘newMethod’ 18 more words

ASP.Net