| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| README.txt | 2010-12-18 | 1.7 kB | |
| salamicode-0.9.zip | 2010-12-18 | 240.5 kB | |
| salamicode-0.6.zip | 2010-11-16 | 122.7 kB | |
| Totals: 3 Items | 364.8 kB | 0 |
SalamiCode 0.9
.Net 3.5-based code snippet manager
11-15-2010
jon@ancillaryfactory.com
Special thanks to the cool Edit Area project:
http://www.cdolivet.com/index.php?page=editArea
/////////////////////////////////////////////////////////////
Installation:
1. Setup SQL database using attached code_snippets.sql script
2. Set connection string in web.config:
<connectionStrings>
<add name="codeConnectionString1" connectionString="Data Source=example.com; Initial Catalog=database; User ID=user; Password=password;"
providerName="System.Data.SqlClient" />
<remove name="LocalSqlServer"></remove>
<add name="LocalSqlServer" connectionString="Data Source=example.com Initial Catalog=database; User ID=user; Password=password;"
providerName="System.Data.SqlClient" />
<!-- <add name="codeConnectionString1" connectionString="Data Source=jon-pc\sqlexpress;Initial Catalog=code;Integrated Security=True"
providerName="System.Data.SqlClient" />-->
</connectionStrings>
3. If you're using forms authentication (STRONGLY RECOMMENDED), change the following:
<authorization>
<allow users="?"/> <!-- RECOMMENDED: Change this to <deny users="?"/> if using authentication. -->
</authorization>
4. Finally, setup e-mail settings:
<system.net>
<mailSettings>
<smtp from="email@example.com">
<network host="mail.example.com" password="password" userName="mail@example.com"
port="25" defaultCredentials="false"
/>
</smtp>
</mailSettings>
</system.net>