# 75 - Introdction to S#arp Architecture


1/6/2009
Level: Intermediate
Tags: NHibernate ASP.NET MVC
Comments: (26)
Author:
Kyle Baley
 
Presented By:
Manning Publications


In this episode we will give you an introduction to the S#arp Architecture for the ASP.NET MVC Framework.

This is a solid architectural foundation for rapidly building maintainable web applications leveraging the ASP.NET MVC framework with NHibernate. The primary advantage to be sought in using any architectural framework is to decrease the code one has to write while increasing the quality of the end product
Click here to Watch this Episode

Download (30.46) (11:33) (1440x900)
Download (19.38) (11:33) (960x600)

Links/Resources:


Comments: (26)

Joe Young said....

I am currently watching this and the autor mentions that your controllers should be in a seperate assembly. I don't understand this thinking and would love some more explaination on this reasoning.


1/9/2009 7:49:07 AM

Kyle Baley said....

Joe,

There's some debate about that actually. Check out the discussion thread on it here: http://groups.google.com/group/sharp-architecture/browse_thread/thread/16c953466e2689b2/983ac8af9dfb7a72?hl=en&lnk=gst&q=controllers+assembly#983ac8af9dfb7a72


1/9/2009 8:15:10 AM

chris said....

I did exactly the same, just with a customer table.

Select's work, but creating new or updating existing always leads to this error:

System.IndexOutOfRangeException: Invalid index 4 for this SqlParameterCollection with Count=4.

Does anybody knows what I'm doing wrong?

 


1/11/2009 10:37:19 AM

chris said....

I found it, searching for ~5h? well, it was a stupid copy/paste error:

Map(x => x.Firstname, "cFirstname");
Map(x => x.Lastname, "cFirstname");

(first and lastname map to same column ...)

thanks for the dimecasts, they are excellent!


1/11/2009 10:54:41 AM

Wes said....

Thanks for the dimecast.  I've been playing around with the architecture for a bit now and i have to say that it is still definately in its infancy.  The lack of strong examples (northwind w/CRUD is a joke) and limited community support kills any immediate benefits. I would be very interested to see a dimecast on implementing search capability since this is one of the major missing examples at this time. 


4/13/2009 9:04:40 PM

Kyle said....

Wes,

I think that's an issue with nomenclature. It's not so much an architecture as it is a starting point for MVC apps with some useful base classes. Almost any question that asks, "How can you do this in Sharp Architecture?" can be generalized to "How can I do this in MVC?" I just started an MVC project that doesn't require a database. I used the Sharp project template to create my starting structure, then ripped out all the data access classes and the CRUD project. The benefit is that the projects are all there with references set up and I can still use the testing helpers. Made it a lot easier than starting from scratch with a single MVC web application project.


4/16/2009 12:38:04 PM

Wes said....

Kyle,

I agree and believe that i overstated the limitations of Sharp Architecture.  After reviewing numerous tutorials on Asp.net i came to the realization that like you said the Sharp Project is a starting point.  I was expecting it to be more like Codeigniter which i'm very familiar with.  Nevertheless, i'm quickly beginning to love the Sharp Project. 

Still having problems implementing search functionality, mostly related to my lack of knowledge in regards to asp.net mvc.  Just can't seem to put a search into place that utilizes pagination using nhibernate. Thanks again for the dimecasts.


4/16/2009 2:24:53 PM

Ruchi Khanna said....

Where can we view the other videocasts  s#arp with webservices?


4/29/2009 5:50:10 AM

WD said....

How much work is involved in swapping IOC if want to use something other than castle?


8/28/2009 10:32:43 AM

replica bags said....

<a href="http://www.go4bagtrade.com"> chanel replica bags </a>;
[URL=http://www.go4bagtrade.com/]Replica Gucci Handbags[/URL],
bags prada replica purses replica prada purses
[a/] http://www.go4bagtrade.com  [a] cheap replica handbags [/a]


1/11/2010 8:22:28 AM

Atlanta Cheap Flight said....

I really love the Sharp project. When can we expecat another video cast?


1/11/2010 6:22:14 PM

Hair Crimpers said....

I'd never heard of S#ast, this is very informative! Thanks!


1/12/2010 5:01:52 AM

Re said....

To be successful means to have the high academic grade and for that, guys should present the great quality politics essays. But is that possible to write it not taking an aid of the online writing service? Yes, that is workable, but it would be more easier to essay buy related to this post in Internet.


1/20/2010 10:05:29 AM

Pariloto said....

Thanks a lot for this.. the time spend to download the movie worth a lot! You did an excelent job!


1/23/2010 9:13:12 AM

Re said....

Very often some students want to look for the story connected with buy research paper. Therefore, we would offer to use the aid of the essay writing services. In fact, this is real to take some stuff from this good post article.


1/26/2010 7:20:22 PM

Re said....

A man, who knows a thing about essay writing would value your good theme. I guess that the how to buy an essay service could take this for the written research paper blogs.


1/27/2010 6:57:43 AM

Re said....

If some students want to hear more just about this good post they should buy essays selecting the writing services.


2/1/2010 9:32:29 AM

prettyreplica said....

Replica Watches Collection

Bvlgari Watches Replica, Swiss Rolex Watch Collection, Best Fake Watch ,Cartier Watches ,Discount Watches , Fashion Watches , Wristwatch, Fake Watch, Wholesale Watches, Jewelry Watches, Replica Jewelry Watches. How to choose Sales Replica Watches the perfect Rolex Watch IWC Fake Watch for you. Buying a Rolex Jewelery Watches watch is certainly a large Jacob & Co. Watch Replica investment, as Rolex Replica Watches watches certainly cost Emporio Armani Replica Watches more than the average wristwatch. Most Rolex watches such as the Rolex yacht master, cost Replica Watch thousands of dollars. Chopard Watch Replica However, Replica Breguet Watches be aware Fake Franck Muller that you will be buying a watch of TAG Heuer Watches that will not Replica Watches ,Jaeger LeCoultre Replica Watches only Ebel Watches Replica work your whole lifetime, it will also look pretty Replica Watch good doing it. However, a Zenith Replica new Replica Mont Blanc Watches Rolex watch may simply be too much money for some people. Wholesale Replica Watches If that is Replica Bvlgari the Replica Handbag case, Jacob & Co. Watch Replica consider buying a Ebel Wristwatch pre-owned Rolex watch Luxury Vacheron Constantin instead. Whether you buy a new or used Rolex watch, you will definitely enjoy the Rado Replica Watches use of Patek Philippe Mens Watches a finely made watch made by the Fake Chopard Watches finest watch company in the last one hundred Replica Watch years. A Gucci Replica Watch Rolex, watch, Replica Patek Philippe Watches omega or cartier wristwatch Luxury Audemars Piguet are all good investments,Ulysse Nardin Watches but the Swiss Luxury Watches Rolex is simply the best Special Watches .

watches brand | Luxury watches | replica hangbag | Luxury watches | replica watch | Very Nice Bag | Real Replica Watches

A Lange&Sohne Watches     Aigner Watches     Alain Silberstein Watches     Audemars Piguet Watches     Bell&Ross Watches     Breguet Watches     Breitling Watches     Bvlgari Watches Replica     Cartier Watches     Chanel Watches Replica     Chopard Watches Replica     Concord Watches     Corum Watches     D&G Watches     Dior Watches Replica     Ebel Replica Watches     Emporio Armani Watches     Ferrari Watches     Franck Muller Watches     Glashutte Watches     Gucci Watches     Hermes Watches     Hublot Watches     IWC Watches     Jacob&Co Watches     Jaeger LeCoultre watches     Longines Watches     Louis Vuitton Watches     Michele Watches     Montblanc Watches     Movado Watches     Omega Watches     Oris Watches     Panerai Watches Replica     Patek Philippe Watches     Philip Stein Watches     Piaget Watches     Porsche Design Watches     Rado Replica Watches     Raymond Weil Watches     Richard Mille Watches     Roger Dubuis Watches     Rolex Japan Watches     Rolex Swiss Watches     Sarcar Watches     Swiss Watch International     TAG Heuer Watches     Tissot Watches     Tudor Watches     Ulysse Nardin Watches     Vacheron Constantin Watches     Versace Replica Watches     Victorinox Swiss Watches     Zenith Watches  

Balenciaga ;   Bally     Burberry     Chanel     Chloe     Christian Dior     Coach     D&G     Fendi     Gucci Handbags     Hermes     Jimmy Choo Handbags     Loewe Handbags     Louis Vuitton Bags     Marc Jacobs Handbags     Miu Miu Handbags     Mulberry Handbags     Prada     Thomas Wylde Handbags     Versace Handbags     YSL Handbag  

A Lange&Sohne Watches     Aigner Watches     Alain Silberstein Watches     Audemars Piguet Watches     Bell&Ross Watches     Breguet Watches     Breitling Watches     Bvlgari Watches     Cartier Watches     Chanel Watches     Chopard Watches     Concord Watches     Corum Watches     Dior Watches     Dolce&Gabbana Watches     Ebel Watches     Emporio Armani Watches     Ferrari Watches     Franck Muller Watches     Glashutte Watches     Gucci Watches     Hermes Watches     Hublot Watches     IWC Watches     Jacob&Co Watches     Jaeger LeCoultre watches     Longines Watches     Louis Vuitton Watches     Michele Watches     Mont Blanc Watches     Movado Watches     Omega Watches     Oris Watches     Panerai Watches     Patek Philippe Watches     Philip Stein Watches     Piaget Watches     Porsche Design Watches     Rado Watches     Raymond Weil Watches     Richard Mille Watches     Roger Dubuis Watches     Rolex Japan Watches     Rolex Swiss Watches     Sarcar Watches     Swiss Watch International     TAG Heuer Watches     Tissot Watches     Tudor Watches     Ulysse Nardin Watches     Vacheron Constantin Watches     Versace Watches     Victorinox Swiss Watches     Zenith Watches  


2/1/2010 8:52:43 PM

Biletul Zilei said....

Thanks for sharing this information. I got a chance to know about this.
Pariuri Sportive Scoruri Live Clasamente Fotbal Statistici Fotbal Biletul Zilei


2/2/2010 1:51:58 AM

Sports Betting said....

well worth the read.I found it very informative as I have been researching a lot lately on practical matters such as you talk about...
Online Sports Betting Online Bookmakers Free Bets Sports Betting Tools Steroids Buy Casa Pariurilor


2/2/2010 1:54:45 AM

Re said....

The really hot facts just about this post sould be a basis for thesis writing and dissertations and be taken in legal dissertation.


2/3/2010 8:20:46 PM

Re said....

With the purpose to forestall the failures in the format thesis, it will be much better to order the perfectly done article just about this good topic from the dissertation service in Internet. This is not very hard to get the academic success taking that great way.


2/3/2010 9:55:29 PM

wow gold said....

Life Home Health Guide: How to prevent obesity in children's television wow gold Life Home Health Guide: 5 strokes to prevent leg cramps when sleeping,cheap wow gold Life Home Health Guide: nose, ill be used with caution aspirin Life Home Health Guide: the elderly than calcium to prevent "bone loss",buy wow gold Want a healthy life? Eat every day for at least 6 2 4 2 Fruit vegetables,World of Warcraft Gold Fashion healthy new option GOLDENFIELD G2 speakers are only 168 yuan quote,wow power leveling When can we have a healthy milk powder wow gold Happy to keep leisure time on the 1st day Fook Sin,cheap wow gold,buy wow gold,World of Warcraft Gold Life Home Health Guide: Healthy Self-overdraft rule,wow power leveling 5 years into the early middle-aged Americans bear the dual pressures of economic and health

10.02.06T


2/5/2010 6:07:31 PM

replica watches said....

Gastrointestinal health "expensive" in three early replica watches Health food pan is very important,replica watches Life Home Health Guide: Be careful prevention and treatment of diabetes disease,rolex watches Gastrointestinal health "expensive" in three early,replica rolex Life Home Health Guide: health sometimes have to rely on the wisdom of,rolex watches Life Home Health Guide: There are Zhang relaxation away from the Karoshi,fake rolex watches Life Home Health Guide: Be careful prevention and treatment of diabetes disease,fake breitling Life Home Health Guide: Living a small coup to prevent major illnesses Gynecology,replica breitling Health: "A stream" sway careful "dry evil"!,breitling watches Let all the people drink the health of the water!,tag heuer Life Home Health Guide: Be careful prevention and treatment of diabetes disease replica watches Life Home Health Guide: excessive wear sunglasses is equal to self-destruct Binocular,replica watches Yantai, close to Chinese New Year bring health into the public choice,rolex watches Life Home Health Guide: excessive wear sunglasses is equal to self-destruct Binocular,breitling watches Life Home Health Guide: spiritual cultivation of the mental health of New Zealand,tag heuer Life Home Health Guide: Diabetes patients with foot care routine should be noted that,tag heuer carrera Living at home health guide: how to deal with during the festive season drink-stomach upset replica watches,rolex watches China will give priority to the focus groups to establish health files,replica rolex When winter and spring seasonal uniform how to be healthy eating,rolex watches Dongli District, to start, "Women and Children Health Action Plan" to prop up health of women and children,fake rolex watches Winter Health Guide: vinegar not anti-influenza respiratory care injury,fake breitling Life Home Health Guide: cold weather warm neck against Stiff Neck,replica breitling Life Home Health Guide: nose, ill be used with caution aspirin,breitling watches Misunderstanding calling such elections have damaged the health mattress,tag heuer Life Home Health Guide: How to prevent obesity in children's television replica watches 5 years into the early middle-aged Americans bear the dual pressures of economic and health,rolex watches The new health liquor liquor Qing Guangzhou high-profile appearance,breitling watches Philips 220X1SW for health escort hot in the display,tag heuer Life Home Health Guide: an effective way to eliminate cramps,tag heuer carrera Food packaging low-quality products are hazardous to health crisis-ridden replica watches Hunan 2009 report prompted concern about the health of children under 5 years of childhood unintentional injuries,rolex watches Life Home Health Guide: travel and need lot of attention to,replica rolex Life Home Health Guide: cold weather warm neck against Stiff Neck,rolex watches Living at home health guide: a busy office workers and utility of 13 health care bills,fake rolex watches Life Home Health Guide: holiday driving safety rules,fake breitling Misunderstanding calling such elections have damaged the health mattress,replica breitling Alert: radiation is the number one killer of pregnant women's health,breitling watches Life Home Health Guide: Self-rated whether you are chronic fatigue got entangled in a,tag heuer.Write Spring Festival couplets written in hand cramp health of chat in chat dry mouth replica watches [Warm Life Tips] He Jitang and sometimes hazardous to their health,rolex watches When winter and spring seasonal uniform how to be healthy eating,breitling watches Life Home Health Guide: Self-rated whether you are chronic fatigue got entangled in a,tag heuer Life Home Health Guide: Parkinson's disease may attack young and middle -,tag heuer carrera. Life Home Health Guide: Be careful prevention and treatment of diabetes disease replica watches Easy Weight Loss OL delicious healthy recipes to lose weight,rolex watches Life Home Health Guide: Healthy Self-overdraft rule,replica rolex Life Home Health Guide: Family Story, diabetes prevention and treatment of children,rolex watches Winter Weight Loss Cheats: indoor warmth of little tricks do not have health lean effort,fake rolex watches Winter Weight Loss Cheats: indoor warmth of little tricks do not have health lean effort,fake breitling CIGNA health insurance company 330 million U.S. dollars in the fourth quarter than-expected profit,replica breitling Not as good as a lot of gifts sent to health care cards have to play the role of stocking,breitling watches 5 years into the early middle-aged Americans bear the dual pressures of economic and health,tag heuer. Life Home Health Guide: Be careful prevention and treatment of diabetes disease replica watches Life Home Health Guide: allows you to easily stop the memory impairment,rolex watches America's most respected hangover food long-term health risks of drinking 12,breitling watches China will give priority to the focus groups to establish health files,tag heuer Life Home Health Guide: holiday driving safety rules,tag heuer carrera Happy to keep leisure time on the 1st day Fook Sin

10.02.06T


2/5/2010 6:08:55 PM

louis vuitton said....

Life Home Health Guide: the elderly than calcium to prevent "bone loss" louis vuitton Jinzhou city, sustained stable and healthy development of the insurance industry,louis vuitton handbags [Warm Life Tips] He Jitang and sometimes hazardous to their health,louis vuitton bags Life Home Health Guide: Farewell motion sickness means a must-see 7 small,louis vuitton Return to natural health rye bread,replica lv Health: "A stream" sway careful "dry evil"!,louis vuitton Main concept of health humidifier functions internally and externally to fight,louis vuitton handbags Clean towels Liya family health is a good helper (diagram),louis vuitton bags Microsoft is targeting the number of health and health care IT industry to discuss the first meeting will be,lv handbags The computer placed next to the banana good eye health,replica gucci Life Home Health Guide: an effective way to eliminate cramps,gucci handbags Building Materials Selection Guide: 4 major factor in choosing a healthy furniture,gucci bags The health of pregnant mothers of small snacks,replica chanel Living at home health guide: how to deal with during the festive season drink-stomach upset louis vuitton,louis vuitton Dongli District, to start, "Women and Children Health Action Plan" to prop up health of women and children,replica gucci Life Home Health Guide: headaches accompanied by nausea and glaucoma alert,replica chanel Life Home Health Guide: spiritual cultivation of the mental health of New Zealand louis vuitton Shanxi: universal anti-cancer knowledge and promote healthy living,louis vuitton handbags Life Home Health Guide: 5 strokes to prevent leg cramps when sleeping,louis vuitton bags Let all the people drink the health of the water!,louis vuitton Life Home Health Guide: health sometimes have to rely on the wisdom of,replica lv Philips 220X1SW for health escort hot in the display,louis vuitton America's most respected hangover food long-term health risks of drinking 12,louis vuitton handbags Not as good as a lot of gifts sent to health care cards have to play the role of stocking,louis vuitton bags 2009 Top Ten News of Chinese medicine,lv handbags Return to natural health rye bread,replica gucci Living at home health guide: a busy office workers and utility of 13 health care bills,gucci handbags Life Home Health Guide: Diabetes foot care after long winter,gucci bags Building Materials Selection Guide: 4 major factor in choosing a healthy furniture,replica chanel.Not as good as a lot of gifts sent to health care cards have to play the role of stocking louis vuitton,louis vuitton Hefei Urban Construction: Regional real estate sector and healthy development of recommended,replica gucci Xi Guohua: working to create a healthy and progressive culture of mobile phone network,replica chanel. Life Home Health Guide: Living a small coup to prevent major illnesses Gynecology louis vuitton Universal fitness Yangko Healthy Living,louis vuitton handbags,louis vuitton bags Xi Guohua: working to create a healthy and progressive culture of mobile phone network,louis vuitton European Union-style "security" and "Health",replica lv [Warm Life Tips] Male Luoshui great deal of reproductive health,louis vuitton Building Materials Selection Guide: 4 major factor in choosing a healthy furniture,louis vuitton handbags Relatives and friends gathered healthy a la carte,louis vuitton bags Life Home Health Guide: 5 strokes to prevent leg cramps when sleeping,lv handbags Life Home Health Guide: How to prevent cerebral hemorrhage in winter the elderly,replica gucci Gannan County Health Records archiving high rate of farmer,gucci handbags Health's Office of false propaganda and big Huyou Card Upgrade,gucci bags Hefei Urban Construction: Regional real estate sector and healthy development of recommended,replica chanel Shanxi: universal anti-cancer knowledge and promote healthy living. Want a healthy life? Eat every day for at least 6 2 4 2 Fruit vegetables louis vuitton Microsoft is targeting the number of health and health care IT industry to discuss the first meeting will be,louis vuitton Alert: radiation is the number one killer of pregnant women's health,replica gucci Happy to keep leisure time on the 1st day Fook Sin,replica chanel 10.02.06T


2/5/2010 6:09:47 PM

pariuri sportive said....

Really nice episode.

<a href="http://www.pariorul-sportiv.com">pariuri sportive</a>

<a href="http://www.clasament-fotbal.ro">clasamente fotbal</a>

<a href="http://www.pariuri24.com">pariuri</a>


2/8/2010 11:24:14 AM


Name: *
Email (not displayed): *
Url:
Comments: *



So, you Human...?



Submit this story to DotNetKicks
Shout it