Send Email via Asp.net Web application hosted on godaddy

This article is providing the fix for the issue while sending emails from the web applications hosted on Godaddy server. Recently I faced an issue while sending emails from a website which is hosted on GoDaddy server. I used Zoho SMTP server to send the emails because I am using that email server. I used below code … Continue reading Send Email via Asp.net Web application hosted on godaddy

Advertisements

Convert base64 string into file using Java script

Here you find java script code convert base64 string to file. I converted excel file to base64 string to demo example. I did it in c# code. Code to convert file into Base64 using System; using System.IO; using System.Linq; namespace Demo { public class Program { public static void Main(string[] args) { var fileBytes = … Continue reading Convert base64 string into file using Java script

CRUD operations using KnockOutJS and Asp.Net MVC3

  In last posts about knockoutJs, I gave examples of Search, Binding server side model to KnockoutJs ViewModel. I’ll discuss today about sending data back to server so that we can do server side operations. I would like to present it doing CRUD operations for Account entity. Account entity has AccountId, Name and AccountBalance. I … Continue reading CRUD operations using KnockOutJS and Asp.Net MVC3

Implement Jquery.tmpl (template) with KnockoutJS, Asp.Net Mvc3

In continuation of my previous post on search implementation using knockoutjs. In previous example I bind grid with knockoutjs observable array object. Because of observable characteristics, once view model update then knockoutjs engine render html controls which are bound to that view model. I found one problem in it when dealing with huge data. I … Continue reading Implement Jquery.tmpl (template) with KnockoutJS, Asp.Net Mvc3

Implement Search screen using knockoutjs, Jquery and asp.net mvc3

  Here I am trying to explain steps for how to use knockoutjs viewmodel, jquery ajax request in asp.net mvc3 project. I am taking practical example to show behaviour. This example will have simple UI screen with search textbox and button. When click on search button ajax request will go to server and will call … Continue reading Implement Search screen using knockoutjs, Jquery and asp.net mvc3

Client side Model binding with ASP.NET MVC 3 and KnockoutJs

Client side Model binding with ASP.NET MVC 3 and KnockoutJs Knockoutjs is type safe client side library which provides declarative bindings of DOM with model data, Automatic UI refresh when view model changes etc. You can read more about KnockoutJS on its website. You can read more about AspNet MVC3 on Asp.Net MVC website. Model … Continue reading Client side Model binding with ASP.NET MVC 3 and KnockoutJs

What is Difference between HttpGet and HttpPost?

Http GET method Data is submitted as a part of url. Data is visible to the user as it post as query string. it is not secure but fast and quick. It use Stack method for passing form variable. Data is limited to max length of querystring. It is good when you want user to … Continue reading What is Difference between HttpGet and HttpPost?

JQGrid methods

I am listing here some useful methods of JqGrid (Jquery data grid plugin). you can read more about JqGrid here. You can also see demo of this grid here. Html tag to declare JqGrid on web page <table id="<nameofgrid>"></table> <div id="pager1"></div> Grid Hide & Show $('#<nameofgrid>').hide(); $('#<nameofgrid>').show(); Clear JQGrid Data $('#<nameofgrid>').clearGridData(false); Fade In & Fade … Continue reading JQGrid methods

How to Integrate Asp.Net application in Facebook

Hi, Someone asked me how to create facebook app day before yesterday and he wanted to integrate existing asp.net webpage in this facebook app. I was not much aware about facebook integration but got to know that facebook doesn’t have any api for asp.net to integrate webpage instead they have for php and python. So … Continue reading How to Integrate Asp.Net application in Facebook