Posts

Showing posts with the label .NET application

Exposing a SQL DB through a WCF Service using Entity Framework

Image
Its been a long time since I have written a blog. I had to implement a SQL database for an application and we needed to have exposed as a WCF endpoint. While there are several tutorial on how to do this, i thought it will be a good idea to show the simple and the quick way that we followed Things needed SQL Server Microsoft Visual Studio 2012 This are two parts, creating the service and then the Client DLL. Part 1 : Creating the WCF Service Step 1: Create the Database Create a SQL database, its tables, its relationships as you normally would.If there are any tables with binary columns, then please be informed that it should be excluded from the WCF service. Step 2: Creating the EDMX file Create a new ASP.NET Empty Web Application in a new solution, call it what you like, I am it the TestDataModel Once this is done, its time to add the EDMX file. In order to do so Right click and add new item. Choose ADO.NET Entity Data model and give it the name TestDataModel.edmx Sel...

How to SaaS-ify your .NET Application

Image
Lately, I have been working on designing Cloud based Datacenters and suggesting Cloud Solutions for customers, etc. I have evaluated quite a few vendors at different spaces in the cloud (Infra, Platform, Security, etc.). I thought, I would share one of the most asked questions by customers. Q: How do I SaaSify (or SaaS enable) my application ? Before I jump on to answering that question, I would like to draw some background here, I believe in my prior blogs, I did mention about what is Cloud and all the other stuff (which you may not care about) . In this section, we will look at SaaS So, lets start from the basics, the “ Necessity”… Quite frankly, the primary need for cloud is to ‘ Get more Bang out of the buck’ and that all … Isn’t it always about it? Almost, the cloud however also provides other features like availability, resiliency, yada yada … Lets answer the following question … Q: What is SaaS?   Let’s take a look at software! How can I get more from the in...