8 Haziran 2016 Çarşamba

How To: Asp.NET Mvc Seo Frienly Urls

I saw a lot of questions about generating Asp.Net Mvc Seo Friendly Urls on internet. In this post im going to show you how to create your very own seo friendly urls like below.

17 Eylül 2015 Perşembe

No connection string named 'DefaultConnection' could be found in the application config file.

You added Connectionstring configuration to web.config file. Tried to migration, but you get error,
No connection string named 'DefaultConnection' could be found in the application config file.
And you dont know why this happening.

Its easy. You have to "Set as Start Up Project" the project containing connectionstring configuration.
And make sure that the execution of a command from Nuget console you choose the right project

12 Temmuz 2015 Pazar

Multi-platform programming of desktop Windows & Linux & Mac


However, the multi-platform programming Mobile , a new era will start in the coming days, the program is desktop.

JavaScript programming language of the future

The purpose of publishing this article in Javascript as the scripting language is to learn and develop the business.

Better PHP or ASP.NET

The two technologies ASP.NET and PHP web programming is usually used. For developers, there is the question of which technology is better?

7 Ocak 2015 Çarşamba

RedirectToAction with parameter


You can pass the any parameter as part of the routeValues parameter of the RedirectToAction() method.

return RedirectToAction("Action", new { id = 99 });
 
you can sperate with comas 

return RedirectToAction("Action", new { Message = ActionMessage.Added, id = 99 }); 

public enum ActionMessage
{
    Added,
    Updated,
    Deleted 
}

13 Aralık 2014 Cumartesi

Unit Of Work

The Unit of Work pattern is designed to maintain a list of business objects that have been changed by a business transaction, whether by adding, removing, or updating. The Unit of Work then coordinates the persistence of the changes and any concurrency problems flagged. The benefit of utilizing the Unit of Work in your DAL is to ensure data integrity; if an issue arises partway through persisting a series of business objects as part of a transaction, all changes should be rolled back to ensure that the data remains in a valid state.