smsohan / MvcMailer

A Mailer for ASP.Net MVC that forms the Email Body using MVC Views (Razor etc.) following Ruby on Rails ActionMailer style
MIT License
582 stars 178 forks source link

Why the reference to EF? #9

Closed blmstr closed 13 years ago

blmstr commented 13 years ago

First of all I just want to say thanks for creating this great little framework, I've previously used MonoRail which comes with something similar and I've always thought this was missing from MVC.

I just wondered why the nuget has a dependancy on Entity Framework? It's not really a problem but I'm not using EF in the rest of my application and the OCD part of me would prefer there not to be a reference.

Cheers,

Adam.

smsohan commented 13 years ago

Hi Adam: Thank you for contacting. MvcMailer uses T4Scaffolding to generate the mailers and their view templates. This T4Scaffolding is from Microsoft and I hope they will remove the dependency on EF. However, your project doesn't need to get a reference to EF and I guess installing MvcMailer won't add that reference to your project. Its just needed for scaffolding.

Cheers!

Sohan http://smsohan.com skype:smsohan | gtalk:sohan39 | cell: 403-714-2673

On Mon, Apr 4, 2011 at 4:07 AM, adambelshaw < reply@reply.github.com>wrote:

First of all I just want to say thanks for creating this great little framework, I've previously used MonoRail which comes with something similar and I've always thought this was missing from MVC.

I just wondered why the nuget has a dependancy on Entity Framework? It's not really a problem but I'm not using EF in the rest of my application and the OCD part of me would prefer there not to be a reference.

Cheers,

Adam.

Reply to this email directly or view it on GitHub: https://github.com/smsohan/MvcMailer/issues/9