With the release of Microsoft Visual Studio 2005, there is no "out of the box" solution for maintaining the Membership and Role databases in Microsoft IIS. This is a problem when you move your application from development to a production IIS server. The utility that Microsoft provides, ASP.NET Web Configuration, can be run only in a development, non-production environment.
This sources and its associated code solve this by implementing a solution to Member and Role management while using standard Microsoft ASP.NET MVC tools. This means that it will run in any ASP.NET MVC 1.0 environment, including IIS.I found 3 projects for membership management were 2 of them are outdated and one is not working with current asp.net mvc release 1.0 (ASP.Net MVC Membership Starter Kit). Some of my code is based on the started kit but most stuff I had to rewrite or make coding changes to make it work with asp.net mvc release 1.0
In my previous blog I added some print screens how the asp.net mvc membership management looks like: http://netrsc.blogspot.com/2009/04/membership-management-for-aspnet-mvc.html
Since I'm developing already various open source projects I decided only to share this Visual Studio Content Installer for a donation of 30 EURO - (http://www.ronischuetz.com/donate.html). Once you have donated given amount you will receive an email with the download link. Please notice that any further updates are given out for free.
Instructions how to use the Visual Studio Content Installer for Asp.Net MVC Membership Management Template.
1. After downloading the given file you need to extract the zip file and you receive a *.vsi file. Upon double click on this *.vsi file the following screen appears. I decided not to sign it therefore is there no publisher details available.
2) If you use the link "View files in Windows Explorer" an explorer window opens and you should see the following screen.
3) Upon next button you receive the following screen - this happens because I havent added any digital signature.
4) Upon "Finish" the template will be installed.
5) The following screen informs about successfully installed asp.net mvc membership template.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYX981uDFufngktoKYHVmF3Fcr_06MqFFlpD8Fj7arwKECtqn_v_FHJhLs2Li9_n3tGh4VKv-1V83w3ay1imGpgZiBJA_W1LeUNs7EVKf4g_wRy8wUb5a1eL_IB51W-1gGRVT6dA/s400/5.png)
6) Open a new instance of visual studio and select under Project Types: "WEB". In the section of "My Templates" you find the new installed ASP.NET MVC Membership Template. Enter an application name and select your favorite location.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDm5i74YQvn-wyaEHDS7uJ8aNJ2aGlia2McXttL3PvBfXXSWkQQm8ypotdv0u8exp5KudfLitoaZshmpOs6HCBFn0KyzNCGeN7_rYd2Qry4r5oS_5Ya0S77vYNtLJTEclQN7Pw2g/s400/6.png)
7) As result of the project creation a normal MVC template will be installed with the asp.net mvc membership extensions. All files and folder which are marked with green color are added to the default project structure.
I reserves the right to modify these Terms of Use without notice and any modifications are effective when they are posted here. I may, at any time, in its discretion terminate your access to this Website and Software. If you are accessing this Web Site as a representative of an organization, these Terms of Use bind both you individually and the organization and references to "you" and "your" shall be construed to apply to you individually and the organization.
This Software and all information is provided "AS IS" and WITHOUT WARRANTY OR CONDITION OF ANY KIND, EXPRESSED OR IMPLIED, INCLUDING THOSE REGARDING THE ACCURACY OR COMPLETENESS OF THE INFORMATION, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE, NON-INFRINGEMENT AND THOSE ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. It is up to you to take precautions to ensure that whatever you select for your use is free of such items as viruses, worms, trojan horses and other items of a destructive nature.
IN NO EVENT I'LL BE LIABLE FOR ANY DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION, THOSE RESULTING FROM LOST PROFITS, LOST DATA, LOST REVENUE OR BUSINESS INTERRUPTION) ARISING OUT OF THE USE, INABILITY TO USE, OR THE RESULTS OF USE OF, THIS SITE OR ANY SITE LINKED TO this blog or my personal WEBSITE: WWW.RONISCHUETZ.COM or WWW.RONISCHUETZ.NET. WITHOUT LIMITING THE FOREGOING, I SHALL BE NOT LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES THAT MAY RESULT FROM THE USE OF THIS SOFTWARE OR WEB SITE OR ANY WEB SITE INFORMATION WHETHER ARISING UNDER CONTRACT, NEGLIGENCE, TORT OR ANY OTHER LAW OR CAUSE OF ACTION.
SOME JURISDICTIONS DO NOT ALLOW THE LIMITATION OR EXCLUSION OF LIABILITY. ACCORDINGLY, SOME OF THE ABOVE MAY NOT APPLY TO YOU.
You agree to release, defend, indemnify and hold me harmless from and against any and all claims, liabilities, damages, losses or expenses, including reasonable attorneys' fees and costs, arising out of or in any way connected with your access to or use of this Software, Web Site or any Web Site Information.
Export and Trade Controls
You agree not to import, export, re-export, or transfer, directly or indirectly, any part of this Software, Web Site or any Web Site Information provided on or pursuant to this Web Site except in full compliance with all United States, foreign and other applicable laws and regulations.
2 comments:
Sehr geehrter Herr Schütz
Haben Sie zufälligerweise Ihre Membership Admin Lösung auf MVC2 (idealerweise mit Areas) angepasst?
mfg graham lancashire
nein das template habe ich nur mit 2008 getested.
Post a Comment