Sibeesh Passion

Category: ASP.NET

WCF Service Unit Tests Using NUnit With Rhino Mocks And Entity Framework

  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

         In this post we will see how we can write unit test cases for our WCF Service with a framework called NUnit. We will also be covering how to mock our dependencies in our test, here we wil be using Rhino Mocks. I am going to use Visual Studio 2015 for the development. I hope […]

Read More

Encrypt And Decrypt ConnectionString In Web.Config File

  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

         In this article we are going to see how we can encrypt and secure our connection string in our web config file. As you all know the connection string is the pillar of our data. I mean, without a connection string you just can’t create an application which does some database actions like retrieving the […]

Read More

Working with API help page controller action description in Web API

  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

         In this article we are going to see how we can enable the API descriptions for the better understanding of how our API controller works and what exactly it is supposed to do. It is recommended that to give the summary and parameter lists and a bit introduction to the service whenever you write any […]

Read More

Web API With HttpClient Or Consume Web API From Console Application

  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

         In this article we are going to learn how we can call Web API using HttpClient. Normally we call a Web API either from a jQuery Ajax or from Angular JS right? Recently I came across a need of calling our Web API from server side itself. Here I am going to use two Visual […]

Read More

Caching In Web API

  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

         In this article we will are going to learn how we can use caching in Web API. Normally caching is the process of storing data somewhere for the future requests, in our case we can avoid the unwanted hit to database to get the data if we cache the data somewhere, this way we can […]

Read More

Angular JS AutoComplete In MVC With Web API

  • 22
  • 7
  • 3
  • 3
  •  
  •  
  •  
  •  
  •  
    35
    Shares

22733     35SharesIn this article we will learn how we can create Angular JS autoComplete text box with the data from SQL Server database. We use MVC architecture with Web API and Angular JS to fetch the data and do all the manipulations. I am creating this application in Visual Studio 2015. You can always get the […]

Read More

Chart Widgets With Server Side Data In MVC Using Angular JS And Web API

  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

         In this article we will learn how we can create some client side chart widgets with the data from SQL Server database. We use MVC architecture with Web API and Angular JS to fetch the data and do all the manipulations. I am creating this application in Visual Studio 2015. In this project we covers […]

Read More

Custom Deferred Grid Using MVC Web API And Angular JS

  • 17
  • 6
  • 10
  • 2
  •  
  •  
  •  
  •  
  •  
    35
    Shares

176102     35SharesIn this article we are going to see how to create a custom deferred grid in MVC using Web API and Angular JS. We will be creating a custom UI for the grid and using web API and angular JS $http services we will fetch the data from the database. Normally we uses ADO.Net Entity […]

Read More

jQuery Datatable With Server Side Data

  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

         In this article we will learn how we can work with jQuery Datatables with server side data. Here we are going to use a MVC application with jQuery and other required packages installed in it. If you are new to MVC, You can always get the tips/tricks/blogs about that hereMVC Tips, Tricks, Blogs. jQuery Datatables […]

Read More

Programmatically Extract or Unzip Zip,Rar Files And Check

  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

         In this pose we will see how we can extract or unzip the uploaded files and check for some files in it in a in a programmatic manner. We will use a normal MVC application to work with this demo. We will use Microsoft System.IO.Compression, System.IO.Compression.FileSystem namespaces and the classes, for example ZipArchive, in the […]

Read More
Footer With Address And Phones