CategoryExternal Articles

Seed project for .NET 4.5, EF, Autofac DI and Unit testing

Follow me

Joan Vilariño

Senior .NET Developer at Ohpen
Developer for more than 25 years and IT, gadget, mobile and electronics enthusiast working and publishing from Barcelona.
Follow me

I found this article explaining how to create a good start project using .NET 4.5 with Entity Framework Code First, Autofac for Dependency Injection (DI) and Unit testing.

It can save you time when you start a new project, and it’s architecture is very well implemented from what I’ve seen.

Give it a look at

http://techbrij.com/service-layer-entity-framework-asp-net-mvc-unit-testing

ASP.NET performance tips

Follow me

Joan Vilariño

Senior .NET Developer at Ohpen
Developer for more than 25 years and IT, gadget, mobile and electronics enthusiast working and publishing from Barcelona.
Follow me

I’ve come across a little article that gives us some good advice to enhance performance in our ASP.NET applications, here they are:

Tips to improve the performance of asp.net application

    • Session State : If you are not using session state then disable it. You can disable it for the particular page instead of every pages
    • Validations : Try to use client side validation, instead of server side validation. Server side validation will make load on server
    • Use HTML Controls : Try to use html controls instead of asp.net controls
    • Use Repeater : Use repeater instead of datagrid, datalist, listview
    • Data Caching : Use data caching where you can implement it. Identify static data, which is not frequently updated and implement caching for that
    • Null Check : Always check null before accessing cache items
    • IsPostback : Always use IsPostBack on your page
    • Disable Tracing : In web config file disable the tracing
    • HTTP Compression : Make sure HTTP Compression is turned on
    • Paging : Use paging to retrieve the data, only show small subset of data, for faster page load
    • Combine CSS – JS files : Combine css & js files, it will reduce no of requests and will help to faster page load
    • CDN : Use CDN for hosting images and script files
    • HTTP Modules : Remove http modules which are not used
    • Garbage Collection : Always dispose object once you have used it
    • Avoid Exceptions : Your code should attempt to avoid exceptions to improve performance because exceptions incur a significant overhead.

Source: http://performanceimprovementaspnet.blogspot.in/2014/11/aspnet-performance-improvement.html

 

Follow me

Joan Vilariño

Senior .NET Developer at Ohpen
Developer for more than 25 years and IT, gadget, mobile and electronics enthusiast working and publishing from Barcelona.
Follow me

I found this article today, and it’s quite good. It shows the differences programming in Javascript when you do it callback oriented or promise oriented.

The article includes a repository and unit testing using Traceur for ES6 transpilation, Bluebird for promises and Mocha / Should for unit testing

Worth a read!

http://lkrnac.net/blog/2014/10/promises-vs-callbacks-comparison/

Top C# Questions Explained

Follow me

Joan Vilariño

Senior .NET Developer at Ohpen
Developer for more than 25 years and IT, gadget, mobile and electronics enthusiast working and publishing from Barcelona.
Follow me

Today I stumbled upon this nice video explaining the top questions that C# developers, be rookies or experienced ones, ask in development websites.

It’s a Microsoft Virtual Academy video, worth to see…

Follow me

Joan Vilariño

Senior .NET Developer at Ohpen
Developer for more than 25 years and IT, gadget, mobile and electronics enthusiast working and publishing from Barcelona.
Follow me

Interesting and good explanation of this very handy method, very useful for array handling…

#mycodingcorner  #javascript #development

Programming involves manipulating collections of various things. Operations on collections include aggregating values, conversion into other formats and data replacement. Let’s take a sum of array …

© 2019 My Coding Corner

Theme by Anders NorénUp ↑

%d bloggers like this:
Skip to toolbar