ASP.NET Script Kurulum
-
Hocalar bi ASP.NET script var kurmam gereken, ilk kez kuracam kurulum dosyası da var bi halt anlamadım, yardımcı olabilecek mürid var mı?
Genelde db olusturup scriptin config vs dosyasına o bilgileri girip direkt kurulum yapiyoruz php scriptlerde. asp net hiç alamadım..
Kurulum dosyasında yazanlar;
Installation Instructions
Install Admin Application
1. Create empty database;
2. Create database user and assign dbo rights to the user;
3. Execute MS SQL Management Studio and execute Database.Install.Script\InstallDatabase-v1.2.sql or UpgradeDatabase-v1.1-to-v1.2.sql to upgrade.
4. Change connection string in Web.Config file in SimpleTools.RoleAdmin.Web, see example below:
Example:
<add
key="SimpleTools.RoleAdmin.Connetion.String"
value="server=localhost\SQLEXPRESS;database=SimpleTools.RoleMemberAdmin;user id=SimpleTools.RoleMemberAdmin;
password=SimpleTools.RoleMemberAdmin" />
5. Create web site in IIS or application in virtual directory and copy content of SimpleTools.RoleAdmin.Web folder. Remember that you must use .Net 4.0 application pull.
6. Add read/write permisson on avatar virtual folder for IUSER user.
7. Set domain attribute in form tag to your root domain (without sub domain name)
<forms loginUrl="~/Account/SignIn" protection="All" timeout="180" domain="mydomain.com" name="myApplicationCookie" path="/" requireSSL="false" slidingExpiration="true" enableCrossAppRedirects="true" defaultUrl="~/"/>
8. Use the following admin login:
Name: admin@demo.com
Password: admin
URL: http://www.yourdomain.com/Admin
Remember that you can change default admin URL in order to secury admin UI entry point.
8. See Help & FAQ area on admin web site.
You can install the tool on your root domain (for instnace accounts.mydomain.com) or use virtual path like this http://www.mydomain.com/security.
Install example application
Example application helps to undestand key concept of role and member admin tool in action:
1. Create web site in IIS or application in virtual directory and copy content of SimpleTools.Web.Example Web folder. Remember that you must use .Net 4.0 application poll.
2. Check web.config file and change accounts.yourdomain.com to you account URL:
<add key="ssoUrlSignInWith" value="http://accounts.yourdomain.com/SignInWith"/>
<add key="ssoUrlSignIn" value="http://accounts.yourdomain.com/SignIn"/>
<add key="ssoUrlSignOut" value="http://accounts.yourdomain.com/SignOut"/>
<add key="ssoUrlSignUp" value="http://accounts.yourdomain.com/SignUp"/>
<add key="ssoUrlForgotPassword" value="http://accounts.yourdomain.com/ForgotPassword"/>
<add key="ssoUrlProfile" value="http://accounts.yourdomain.com/Profile"/>
<add key="ssoAvatar" value="http://accounts.yourdomain.com/Avatar"/>
<add key="ssoAPIUrl" value="http://accounts.yourdomain.com/Admin/API"/>
<add key="ssoAPIMemberName" value="example@demo.com"/>
<add key="ssoAPIMemberToken" value="HYXMvDsQWhGhbShE7yS1"/>
You can install the tool on your root domain (for instnace app.mydomain.com) or use virtual path like this http://www.mydomain.com/myapp. -
ap yardım muridler
-
sql'i kurup buraya bilgileri yazdın mı?
<add
key="SimpleTools.RoleAdmin.Connetion.String"
value="server=localhost\SQLEXPRESS;database=SimpleTools.RoleMemberAdmin;user id=SimpleTools.RoleMemberAdmin;
password=SimpleTools.RoleMemberAdmin" />ve birde .net sürümü önemli. Aldığın hata nedir?
