Skip to main content

Posts

Speed up your delivery

Tools & Technology for Quality and fast Development, Code Documentation and Testing  Resharper 8(Licensed) 1.    Analyze code quality-On-the-fly code quality analysis in C#, VB.NET, XAML, ASP.NET, ASP.NET MVC, JavaScript, CSS, HTML, and XML. ReSharper tells you right away if your code contains errors or can be improved. 2.    Code editing helpers-Multiple code editing helpers including extended IntelliSense, hundreds of instant code transformations, auto-importing namespaces, rearranging code and displaying documentation. 3.    Eliminate errors and code smells- Instant fixes to eliminate errors and code smells. Not only does ReSharper warn you when there's a problem in your code but it provides quick-fixes to solve them automatically. 4.    Comply to coding standards- Code formatting and cleanup functionality is at your disposal to get rid of unused code and ensure compliance to coding standards. 5.    Code Generati...

Client side(Jquery/Javascript/CSS) coding convention and best practices

Type Standard / Convention Example Linting Use JSHint to detect errors and potential problems.   Recommended to have nodejs (with npm). Install node-jshint from the command line for automatic linting. node-jshint automatically discovers the closest .jshintrc file and uses it. Or http://jshint.com/ (may produce different results due to absence of jshintrc settings)   Whitespace This will help to enforce to follow particuler coding convention     Blank lines separate one block of logically related code from another.   One space on both sides of binary operators and assignment operators.   Keywords followed by a " ( " (left parenthesis) must be separated by one space.   There should be no space between the function name and left parenthesis of the argument list. This gives visual distinction between keywords and function invocations.   Clos...

Claim Based Identity - My findings......

Claims - Benefits  Why we should go forClaim based Identity(defining identity+authorization+authentication), let's have look on couple of noted points which very known: • Claims-based authentication is not just white (authenticated) or black (unauthenticated). It allows for a whole level of shades of gray. This is where claims augmentation comes into play where, depending upon the level of access you need, you can provide additional claims. • Claims can be stacked on top of each other. What this means is multiple users with different kinds of authentication can participate on the same web application. • Claims are Internet ready. Because they use algorithms such as RSA, they are extremely secure and trustable even when you cannot talk to the IP-STS directly. • Claims do not care about the platform. They are an open standard that everyone understands. • Finally, there is a complexity surrounding many different kinds of authentications. For instance, if our SharePoint s...

What is REST

Today I will put some detail on REST,a architecture which is just hot now a days among architect,personally I felt this is the one of the simplest architecture.Although it's not easy to implement without getting thorow understanding of it. Representational State Transfer(REST) is  architectural style for distributed hypermedia systems  . This complete architecture use few elements like Resource,URI,Verb,Representation,Component and Connector etc. Let me explain each term with detail: * what is Resource?  - The key abstraction of information in REST is a  resource. A resource can be any meaningful functional object which can be addressed and can  act upon a request * What is URI?  - The address using which resource is being addressed is URI( uniform resource identifier  ).It's having it's own structure to represent any object. It's composed of five parts called scheme, host, path, query, and fragment e.g. http://xyz.com/Resource/pageno=10#bookma...

Other aspects of HTML5

There is great feature embedded with HTML5 that is multimedia support without any plugin at end user.The best part of this tag is that it support wide range of quality audio/video format. The tags which we use for audio and video are: <audio> <video> The code snippet for same: <audio id=“audio” controls preload="auto" autobuffer>   <source src="source1.mp3" />   <source src=" source2.ogg" /> </audio> <video id=“video” poster=”poster.jpg" src=”source.mp4" width="2" height="1" x-webkit-airplay="allow” autoplay controls> </video> HTML5 is enriched with other input type tag which is having great ability to enrich the mobile interface,this input type tag along with Jquery UI plugin give them very strong presence on mobile where end user get very lucrative look and feel. <input type="number" pattern="[0-9]*" /> <input type=...

RESTful service called from Jquery and used in HTML5

The above architecture is based upon the .NET framework and keeping in line the architectural guidelines offered as base line for standard web service oriented applications with disconnected rich front ends “ HTML5 ”. .NET 4.0 is a premiere software development framework that is used for building enterprise applications delivered to end users. Combined together with HTML 5 /JavaScript/JQuery and CSS, the .NET SDK along with its rich support for web application development, offers a top of the line web application development environment. As promised in last blog I am going to write some syntax/code snippet and architecture flow. In above architecture we will avoid server side control,we will use client side scripting to give same look and feel. As per our architecture user first make request from web page on server,so let's see how we will design webpage. As I mentioned in architecture we will be using HTML5 to design webpage. there are tags in HTML5 which is being common...