Skip to main content

Posts

Showing posts from February, 2014

Bing Code Search Makes Developers More Productive using VS2013

The Bing Code Search add-in for Visual Studio 2013 makes it easier for .NET developers to search for and reuse code samples from across the coding community,  including  MSDN ,  StackOverflow ,  Dotnetperls  and  CSharp411 . Bing Code Search improves developer productivity and speed by bringing the experience of searching for reusable C# code into Visual Studio IDE. Check out this demo video for more info Source From : http://blogs.technet.com/b/inside_microsoft_research/archive/2014/02/17/bing-code-search-makes-developers-more-productive.aspx http://rionscode.wordpress.com/2014/02/17/introducing-bing-code-search-an-easy-way-to-find-code-samples-from-within-visual-studio-2013/

Walk In Interviews For Web Designers In Hyderabad

URGENT WALK – IN – INTERVIEWS FOR WEB DEVELOPERS Vacancy for Web Developers(UI/UX ) Skills Required:    HTML 4/5,   Adobe CS3 and above    JQuery & Java Script,   Adobe Flash    Knowledge on Web Responsive Design, CSS Scripts    Web responsive Design frameworks     Having HTML 5, CSS 6 & Knowledge on Web Responsive Design are added advantage Qualification:  Any Degree Fresher (or) Experienced   Date & time From 06/30/2014 to 07/05/2014  Morning 11Am onwards daily . Venue Details  SYNC APPS ONLINE VENTURES PVT LTD. H.No 8-3-318-11-4B , Jayaprakash Nagar, Ameerpet, Andhra Pradesh , Hyderabad 500073 040-64 61 89 89 - 040-68 68 68 68 , 9703697038 www.easybus.in , www.syncrooms.com . Landmark : Take left beside Value Mart Supermarket Mail your resumes to :  jobs@easybus.in Please attach your designs samples or previous urls

How to post data using httpwebrequest in asp.net

How to post data using Httpwebrequest class  in asp.net  - H ow to post data from one website to another site using HttpWebRequest class .... Related posts    How to insert multiple Checkboxlist value into database in asp.net   You need to import the following namespaces C# using System.Text; using System.Net; using System.IO; Sample code refer  protected void SendrequestToBookroom()     {         string URI = "your url ";         System.Net.WebRequest req = System.Net.WebRequest.Create(URI);         //Add these, as we're doing a POST         req.ContentType = "application/x-www-form-urlencoded";         req.Method = "POST";         //We need to count how many bytes we're sending.          //Post'ed  Forms should be name=value&         byte[] bytes = System.Text.Encoding.ASCII.GetBytes("minorRev=26&cid=55505");         req.ContentLength = bytes.Length;  

JSON.NET Deserialize objects within object array of objects and objects

Problem  :  I have a situation where an EAN API I'm using is returning inconsistent JSON , which I want to deserialize  using JSON.NET.  In one case, it returns an object that contains objects and another another case returning only one object Related posts  Key Differences between XML and JSON Sample Response : {    "1":{       "0":{          "db_id":"12835424",          "title":"XXX"       },       "1":{          "db_id":"12768978",          "title":"YYY"       },       "2":{          "db_id":"12768980",          "title":"ZZZ"       },     } } And in another case, it returns an array of objects : {    "2":[       {          "db_id":"12769199",          "title":"XXX"       },       {          "db_id":"12769200",          "title":&quo

Key Differences between XML and JSON

Comparing JSON to XML Both JSON and XML can be used to represent native, in-memory objects in a text-based, human-readable, data exchange format. Furthermore, the two data exchange formats are isomorphic—given text in one format, an equivalent one is conceivable in the other. For example, when calling one of web services , you can indicate via a querystring parameter whether the response should be formatted as XML or JSON.     Therefore, when deciding upon a data exchange format, it's not a simple matter of choosing one over the other as a silver bullet, but rather what format has the  characteristics  that make it the best choice for a particular application. For example, XML has its roots in marking-up document text and tends to shine very well in that space (as is evident with XHTML). JSON, on the other hand, has its roots in programming language types and structures and therefore provides a more natural and readily available mapping to exchange structured data. Beyond

How to alias json response model properties in ASP.Net Web API

If you want to return objects from action methods in Web Api with JSON style lowercase names, is there a way to alias the property names so that the C# object below looks like the JSON object that follows. Sample C# Response Model     public class Account     {         public int Id { get; set; }         public string AccountName { get; set; }         public decimal AccountBalance { get; set; }     } JSON that I'd like to be returned     {         "id" : 12,         "account-name" : "Primary Checking",         "account-balance" : 1000     } Answer  :  Yes   You can use JSON.NET's JsonProperty  public class Account     {         [JsonProperty(PropertyName="id")]         public int Id { get; set; }         [JsonProperty(PropertyName="account-name")]         public string AccountName { get; set; }         [JsonProperty(PropertyName="account-balance")]         public decimal Acco

Three Tier architecture Web Application Development in asp.net

3-Tier Web Application Development In web application development, three-tier architecture refers to separating the application process into three specific layers. What the user sees via a web browser is called the presentation tier and is content served from a web server. The middle tier performs the business logic processing that occurs, for example, when a user submits a form. The back end consists of the data tier which handles the database processing and access to the data. We'll take a simplistic look at each of these.  Previous  post explained about   What is JSON (JavaScript Object Notation)  ,   What is sharding - Databases  . Presentation Tier The Presentation Tier or User Interface is the portion the user sees when they open a web page in the browser. It is as simple as you reading this article all the way to searching a catalog and purchasing a product using a shopping cart. It is what is presented to the user on the client side within their web browser. If you

How to apply CSS for Ajax TabContainer Control in ASP.NET 2.0

This article explains us how to give own css style for Ajax TabContainer Control.  1.  Create new ASP.NET AjaxEnabled Website.  2.  Drag and Drop TabContainer Control from Toolkit to web form.  3.  Drag and Drop TabPanel Control from Toolkit to TabContainer.And Drop Label, Textbox and Button Controls to TabPanels, like this  Sample code : previous post explained about  CONFIRMATION BOX WITH YES NO BUTTONS USING AJAX MODAL POPUP EXTENDER IN ASP.NET , Asp.Net AjaxFileUpload Control With Drag Drop And Progress Bar < cc1 : TabContainer   ID ="TabContainer1"   runat ="server"   ActiveTabIndex ="0"> < cc1 : TabPanel   ID ="TabPanel1"   runat ="server"   HeaderText ="Tab 1">          < ContentTemplate >          < asp : TextBox   ID ="TextBox1"   runat ="server"></ asp : TextBox >                                     </ ContentTemplate >