开发者

C# Coding Style in asp.net mvc app [closed]

开发者 https://www.devze.com 2023-01-31 02:01 出处:网络
开发者_如何学Python As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likel
开发者_如何学Python As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 12 years ago.

I and my team starting new project with asp.net mvc (before write in c++) and i want to use best code style practice for asp.net mvc because its very important thing for long project. You guys who have good experience in asp.net mvc can recommend me good code styling rules? Thanks a lot


This question is too broad to be answered here. I would recommend you start with some tutorials and also there's the excellent Pro ASP.NET MVC Framework book from Steven Sanderson you might take a look at.

Also here's an excellent guide you should definitely checkout. It is based on a couple of golden rules that should be respected if you want to follow good practices.


Here are some links describing good practices for coding ASP.NET MVC:

ASP.NET MVC Best Practices (Part 1)

ASP.NET MVC Best Practices (Part 2)

http://www.slideshare.net/simonech/aspnet-mvc-best-practices

But the best option is to read some ASP.NET MVC book like "PRO ASP.NET MVC 2 Framework" or "ASP.NET MVC in Action"


If its real coding style that you are looking for, I really recommend Resharper, that tool gives you tons of good advice while your are typing. It helps you respect the naming convention standard set by Microsoft which you can consult here.



There's just too much to say about ASP.NET MVC..

I'd suggest you to buy and read a book if t is a very important long project, Wrox and Manning books are 2 good choices

0

精彩评论

暂无评论...
验证码 换一张
取 消