Apply Caching In Web API Using CacheCow
Great example of ETag in ASP.Net web api for memory caching!!!
Popular Posts
-
Kendo UI applying SUM in footer template kendo ui - KendoUI: Grid Summary values in Footer - Stack Overflow : ", footerTemplate:...
-
MVC grid example ASP.NET MVC Flexigrid sample - CodeProject : 'via Blog this'
-
A possible way of handling distributed transaction for multiple contexts without alleviation to MSDTC??? c# - Entity Framework - Using Trans...
Saturday, July 30, 2016
Friday, July 29, 2016
JSONView - Chrome Web Store
JSONView - Chrome Web Store
Chrome plugin that displays the JSON result returned from a Web API call as formatted rather than the raw JSON that Chrome shows by default.
I needed this as my result was returning Preview and Next Links and I could interactively work with the Hypermedia links!!
Chrome plugin that displays the JSON result returned from a Web API call as formatted rather than the raw JSON that Chrome shows by default.
I needed this as my result was returning Preview and Next Links and I could interactively work with the Hypermedia links!!
Web API Design | Pluralsight
Web API Design | Pluralsight
Web API Summary
=================
>> RESTful
- Resource based as URIs
- http verbs for operations
- heirarchical web data e.g. Customers/1/orders
- stateless
- Client and Server are fully separate i.e. there is no references or proxies other than the URI
- Requests are cacheable
- Hateos or hypermedia i.e the results are self documenting e.g. it includes links or uri for the other operations that can be valid on result
- Content negociation based on headers
>> Good Desing
- should be url based and using plural nouns
- should use HTTP verbs to perform operations
- should return http status codes for delete, updated item for Put, all items for Get
- ETag caching
- Paging
- Versioning
Web API Summary
=================
>> RESTful
- Resource based as URIs
- http verbs for operations
- heirarchical web data e.g. Customers/1/orders
- stateless
- Client and Server are fully separate i.e. there is no references or proxies other than the URI
- Requests are cacheable
- Hateos or hypermedia i.e the results are self documenting e.g. it includes links or uri for the other operations that can be valid on result
- Content negociation based on headers
>> Good Desing
- should be url based and using plural nouns
- should use HTTP verbs to perform operations
- should return http status codes for delete, updated item for Put, all items for Get
- ETag caching
- Paging
- Versioning
Thursday, July 28, 2016
A Better CSS: LESS and SASS
A Better CSS: LESS and SASS
LESS features in summary:
>> Create variables @variable-name : red;
>> Create heirarchy of elements rather than repeating them many times
>> Add comments // and /**/
>> Import CSS or other Less files @Import "filename.css"
>> Functions
>>> color : darken(@variable-name + 10%) , lighten, saturate, etc
>> Operations
>>> color : @font-size + 12;
>> Mixen -> functions that accepts parameter and is reusable
>>> .my-first-mixin(@size){
border-radius : @size;
}
and use it as:
#form {
broder-radius : my-first-mixin(5px);
}
>> namespaces
LESS features in summary:
>> Create variables @variable-name : red;
>> Create heirarchy of elements rather than repeating them many times
>> Add comments // and /**/
>> Import CSS or other Less files @Import "filename.css"
>> Functions
>>> color : darken(@variable-name + 10%) , lighten, saturate, etc
>> Operations
>>> color : @font-size + 12;
>> Mixen -> functions that accepts parameter and is reusable
>>> .my-first-mixin(@size){
border-radius : @size;
}
and use it as:
#form {
broder-radius : my-first-mixin(5px);
}
>> namespaces
Web Extension Pack
Web Extension Pack
This is required to be installed otherwise most of the cool features like .less preview etc will not be working in Visual Studio 2015.
This is required to be installed otherwise most of the cool features like .less preview etc will not be working in Visual Studio 2015.
Wednesday, July 27, 2016
Tuesday, July 26, 2016
Saturday, July 23, 2016
Tuesday, July 5, 2016
Sunday, July 3, 2016
Continuous Deployment to Microsoft Azure Websites | Dev Superpowers #8 | Adam Stephensen - YouTube
Continuous Deployment to Microsoft Azure Websites | Dev Superpowers #8 | Adam Stephensen - YouTube
configuring continuous integration with azure and visual studio online
configuring continuous integration with azure and visual studio online
Saturday, July 2, 2016
Subscribe to:
Posts (Atom)