Permalink
Browse files

refactoring

  • Loading branch information...
1 parent 8dd7fd8 commit 0cb1063f141ebcb3352ed95fac8ac7b1d2741118 @angelcolmenares committed Apr 2, 2012
Showing with 27 additions and 22 deletions.
  1. +0 −3 README.md
  2. BIN lib/FirebirdSql.Data.FirebirdClient.dll
  3. BIN lib/Microsoft.Web.Infrastructure.dll
  4. BIN lib/Mono.Data.Sqlite.dll
  5. BIN lib/Mono.Security.dll
  6. BIN lib/Npgsql.dll
  7. BIN lib/ServiceStack.Common.dll
  8. BIN lib/System.Web.Mvc.dll
  9. BIN lib/System.Web.Razor.dll
  10. BIN lib/System.Web.WebPages.Deployment.dll
  11. BIN lib/System.Web.WebPages.Razor.dll
  12. BIN lib/System.Web.WebPages.dll
  13. BIN lib/mysql.data.dll
  14. BIN lib/protobuf-net.dll
  15. BIN lib/sqlite3.dll
  16. +4 −4 src/AuthDemo.Host.Web/AppHost.cs
  17. +1 −0 src/AuthDemo.Host.Web/AuthDemo.Host.Web.csproj
  18. 0 src/AuthDemo.Host.Web/Default.aspx
  19. 0 src/AuthDemo.Host.Web/Default.aspx.cs
  20. 0 src/AuthDemo.Host.Web/Default.aspx.designer.cs
  21. 0 src/AuthDemo.Host.Web/Global.asax
  22. 0 src/AuthDemo.Host.Web/Global.asax.cs
  23. 0 src/AuthDemo.Host.Web/WebApp/app.js
  24. 0 src/AuthDemo.Host.Web/WebApp/intro.html
  25. 0 src/AuthDemo.Host.Web/WebApp/license.txt
  26. 0 src/AuthDemo.Host.Web/WebApp/modules/app/controller/City.js
  27. 0 src/AuthDemo.Host.Web/WebApp/modules/app/controller/Company.js
  28. 0 src/AuthDemo.Host.Web/WebApp/modules/app/controller/Country.js
  29. 0 src/AuthDemo.Host.Web/WebApp/modules/app/model/City.js
  30. 0 src/AuthDemo.Host.Web/WebApp/modules/app/model/Company.js
  31. 0 src/AuthDemo.Host.Web/WebApp/modules/app/model/Country.js
  32. 0 src/AuthDemo.Host.Web/WebApp/modules/app/model/Person.js
  33. 0 src/AuthDemo.Host.Web/WebApp/modules/app/store/City.js
  34. 0 src/AuthDemo.Host.Web/WebApp/modules/app/store/Company.js
  35. 0 src/AuthDemo.Host.Web/WebApp/modules/app/store/Country.js
  36. 0 src/AuthDemo.Host.Web/WebApp/modules/app/store/Person.js
  37. 0 src/AuthDemo.Host.Web/WebApp/modules/app/view/city/Form.js
  38. 0 src/AuthDemo.Host.Web/WebApp/modules/app/view/city/List.js
  39. 0 src/AuthDemo.Host.Web/WebApp/modules/app/view/company/Form.js
  40. 0 src/AuthDemo.Host.Web/WebApp/modules/app/view/company/List.js
  41. 0 src/AuthDemo.Host.Web/WebApp/modules/app/view/country/Form.js
  42. 0 src/AuthDemo.Host.Web/WebApp/modules/app/view/country/List.js
  43. 0 src/AuthDemo.Host.Web/WebApp/modules/app/view/person/Form.js
  44. 0 src/AuthDemo.Host.Web/WebApp/modules/app/view/person/List.js
  45. 0 src/AuthDemo.Host.Web/WebApp/modules/app/view/person/PhotoForm.js
  46. 0 src/AuthDemo.Host.Web/WebApp/modules/author/app.js
  47. 0 src/AuthDemo.Host.Web/WebApp/modules/author/index.html
  48. 0 src/AuthDemo.Host.Web/WebApp/modules/city/app.js
  49. 0 src/AuthDemo.Host.Web/WebApp/modules/city/index.html
  50. 0 src/AuthDemo.Host.Web/WebApp/modules/company/app.js
  51. 0 src/AuthDemo.Host.Web/WebApp/modules/company/index.html
  52. 0 src/AuthDemo.Host.Web/WebApp/modules/country/app.js
  53. 0 src/AuthDemo.Host.Web/WebApp/modules/country/index.html
  54. 0 src/AuthDemo.Host.Web/WebApp/modules/person/app.js
  55. 0 src/AuthDemo.Host.Web/WebApp/modules/person/index.html
  56. 0 src/AuthDemo.Host.Web/WebApp/modules/userAuth/app.js
  57. 0 src/AuthDemo.Host.Web/WebApp/modules/userAuth/index.html
  58. 0 src/AuthDemo.Host.Web/WebApp/resources/SimpleIFrame.js
  59. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/fam/accept.gif
  60. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/fam/accept.png
  61. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/fam/action_back.gif
  62. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/fam/action_forward.gif
  63. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/fam/add.gif
  64. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/fam/add.png
  65. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/fam/application_go.png
  66. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/fam/application_view_list.png
  67. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/fam/book.png
  68. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/fam/cog.gif
  69. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/fam/cog.png
  70. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/fam/cog_edit.png
  71. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/fam/connect.gif
  72. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/fam/connect.png
  73. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/fam/control_rewind.png
  74. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/fam/cross.gif
  75. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/fam/database_refresh.png
  76. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/fam/database_save.png
  77. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/fam/delete.gif
  78. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/fam/error.gif
  79. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/fam/error.png
  80. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/fam/eye.png
  81. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/fam/feed_add.png
  82. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/fam/feed_delete.png
  83. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/fam/feed_error.png
  84. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/fam/folder_go.gif
  85. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/fam/folder_go.png
  86. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/fam/folder_wrench.png
  87. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/fam/grid.png
  88. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/fam/image_add.png
  89. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/fam/information.png
  90. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/fam/page_edit.gif
  91. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/fam/plugin.gif
  92. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/fam/plugin_add.gif
  93. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/fam/printer.png
  94. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/fam/rss_go.png
  95. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/fam/table_refresh.png
  96. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/fam/user.gif
  97. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/fam/user.png
  98. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/fam/user_add.gif
  99. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/fam/user_add.png
  100. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/fam/user_comment.png
  101. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/fam/user_delete.gif
  102. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/fam/user_delete.png
  103. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/fam/user_edit.png
  104. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/fam/user_female.gif
  105. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/fam/user_female.png
  106. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/fam/user_gray.png
  107. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/fam/user_green.gif
  108. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/fam/user_green.png
  109. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/fam/user_orange.png
  110. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/fam/user_red.png
  111. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/fam/user_suit.gif
  112. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/fam/user_suit.png
  113. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/silk/arrow_down.png
  114. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/silk/arrow_refresh.png
  115. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/silk/arrow_right.png
  116. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/silk/arrow_undo.png
  117. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/silk/chart_curve.png
  118. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/silk/col-move-bottom.gif
  119. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/silk/col-move-top.gif
  120. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/silk/collapse-all.gif
  121. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/silk/cross.png
  122. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/silk/disk.png
  123. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/silk/drop-no.gif
  124. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/silk/elbow-end-plus.gif
  125. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/silk/elbow-minus.gif
  126. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/silk/elbow-plus.gif
  127. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/silk/email.png
  128. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/silk/expand-all.gif
  129. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/silk/folder-open.gif
  130. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/silk/folder.gif
  131. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/silk/group-collapse.gif
  132. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/silk/key.png
  133. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/silk/leaf.gif
  134. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/silk/page-first-disabled.gif
  135. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/silk/page-last-disabled.gif
  136. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/silk/page-last.gif
  137. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/silk/page-next-disabled.gif
  138. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/silk/page-next.gif
  139. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/silk/page-prev-disabled.gif
  140. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/silk/page_white_add.png
  141. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/silk/page_white_get.png
  142. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/silk/pencil.png
  143. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/silk/refresh.gif
  144. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/silk/row-expand-sprite.gif
  145. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/silk/sort_asc.gif
  146. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/silk/table_add.png
  147. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/silk/table_delete.png
  148. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/silk/table_save.png
  149. BIN src/AuthDemo.Host.Web/WebApp/resources/icons/silk/up.png
  150. 0 src/AuthDemo.Host.Web/WebApp/resources/util.css
  151. 0 src/AuthDemo.Host.Web/WebApp/resources/util.js
  152. +13 −11 src/AuthDemo.Host.Web/web.config
  153. 0 src/AuthDemo.ServiceDbAcces/AuthDemo.ServiceDbAcces.csproj
  154. 0 src/AuthDemo.ServiceDbAcces/Factory.cs
  155. 0 src/AuthDemo.ServiceDbAcces/ModelExtensions.cs
  156. 0 src/AuthDemo.ServiceDbAcces/Properties/AssemblyInfo.cs
  157. +9 −4 src/AuthDemo.ServiceInterface/AppConfig.cs
  158. 0 src/AuthDemo.ServiceInterface/AppRestService.cs
  159. 0 src/AuthDemo.ServiceInterface/AuthDemo.ServiceInterface.csproj
  160. 0 src/AuthDemo.ServiceInterface/AuthorService.cs
  161. 0 src/AuthDemo.ServiceInterface/CityService.cs
  162. 0 src/AuthDemo.ServiceInterface/CompanyService.cs
  163. 0 src/AuthDemo.ServiceInterface/CountryService.cs
  164. 0 src/AuthDemo.ServiceInterface/CustomerService.cs
  165. 0 src/AuthDemo.ServiceInterface/HttpResponse.cs
  166. 0 src/AuthDemo.ServiceInterface/PersonPhotoService.cs
  167. 0 src/AuthDemo.ServiceInterface/PersonService.cs
  168. 0 src/AuthDemo.ServiceInterface/Properties/AssemblyInfo.cs
  169. 0 src/AuthDemo.ServiceInterface/UserAuthService.cs
  170. 0 src/AuthDemo.ServiceModel/Attributes/Author.Attributes.cs
  171. 0 src/AuthDemo.ServiceModel/Attributes/City.Attributes.cs
  172. 0 src/AuthDemo.ServiceModel/Attributes/Company.Attributes.cs
  173. 0 src/AuthDemo.ServiceModel/Attributes/Country.Attributes.cs
  174. 0 src/AuthDemo.ServiceModel/Attributes/Customer.Attributes.cs
  175. 0 src/AuthDemo.ServiceModel/Attributes/Person.Attributes.cs
  176. 0 src/AuthDemo.ServiceModel/Attributes/PersonPhoto.Attributes.cs
  177. 0 src/AuthDemo.ServiceModel/AuthDemo.ServiceModel.csproj
  178. 0 src/AuthDemo.ServiceModel/Operations/PersonPhotoResponse.cs
  179. 0 src/AuthDemo.ServiceModel/Operations/Response.cs
  180. 0 src/AuthDemo.ServiceModel/Properties/AssemblyInfo.cs
  181. 0 src/AuthDemo.ServiceModel/Types/Author.cs
  182. 0 src/AuthDemo.ServiceModel/Types/City.cs
  183. 0 src/AuthDemo.ServiceModel/Types/Company.cs
  184. 0 src/AuthDemo.ServiceModel/Types/Countries.cs
  185. 0 src/AuthDemo.ServiceModel/Types/Country.cs
  186. 0 src/AuthDemo.ServiceModel/Types/Customer.cs
  187. 0 src/AuthDemo.ServiceModel/Types/Department.cs
  188. 0 src/AuthDemo.ServiceModel/Types/Employee.cs
  189. 0 src/AuthDemo.ServiceModel/Types/EmployeeProject.cs
  190. 0 src/AuthDemo.ServiceModel/Types/Job.cs
  191. 0 src/AuthDemo.ServiceModel/Types/Person.cs
  192. 0 src/AuthDemo.ServiceModel/Types/PersonPhoto.cs
  193. 0 src/AuthDemo.ServiceModel/Types/Product.cs
  194. 0 src/AuthDemo.ServiceModel/Types/ProjDeptBudget.cs
  195. 0 src/AuthDemo.ServiceModel/Types/Project.cs
  196. 0 src/AuthDemo.ServiceModel/Types/SalaryHistory.cs
  197. 0 src/AuthDemo.ServiceModel/Types/Sales.cs
  198. 0 src/AuthDemo.ServiceModel/Types/TestTable.cs
  199. 0 src/AuthDemo.ServiceModel/Types/Users.cs
  200. 0 src/AuthDemo.sln
View
3 README.md 100644 → 100755
@@ -11,9 +11,6 @@ Demo includes:
Any suggestions, contributions, critics, are welcome!
-Mono's users must run xsp4.
-
-App is temporaly avalabile at http://aicl.no-ip.org:8080/WebApp/ ( sunday, monday and tuesday)
Download extjs from 'http://www.sencha.com/products/extjs/' and install in :AuthDemo.Host.Web/WebApp/extjs
View
No changes.
View
No changes.
View
0 lib/Mono.Data.Sqlite.dll 100644 → 100755
No changes.
View
0 lib/Mono.Security.dll 100644 → 100755
No changes.
View
0 lib/Npgsql.dll 100644 → 100755
No changes.
View
0 lib/ServiceStack.Common.dll 100644 → 100755
No changes.
View
0 lib/System.Web.Mvc.dll 100644 → 100755
No changes.
View
0 lib/System.Web.Razor.dll 100644 → 100755
No changes.
View
No changes.
View
No changes.
View
0 lib/System.Web.WebPages.dll 100644 → 100755
No changes.
View
0 lib/mysql.data.dll 100644 → 100755
No changes.
View
0 lib/protobuf-net.dll 100644 → 100755
No changes.
View
0 lib/sqlite3.dll 100644 → 100755
No changes.
View
@@ -60,7 +60,7 @@ public override void Configure(Container container)
}
- OrmLiteConfig.DialectProvider= GetDialectProvider();
+ OrmLiteConfig.DialectProvider= GetDialectProvider(config);
IDbConnectionFactory dbFactory = new OrmLiteConnectionFactory(
ConfigUtils.GetConnectionString("ApplicationDb"));
@@ -195,16 +195,16 @@ private void ConfigureServiceRoutes()
}
}
- private IOrmLiteDialectProvider GetDialectProvider()
+ private IOrmLiteDialectProvider GetDialectProvider(AppConfig config)
{
var ds = ConfigUtils.GetDictionaryFromAppSetting("DialectProvider");
- var assembly = Assembly.LoadFrom(Path.Combine(ds["PathToAssembly"], ds["AssemblyName"]));
+ var assembly = Assembly.LoadFrom(Path.Combine(config.LibDirectory, ds["AssemblyName"]));
var type = assembly.GetType(ds["ClassName"]);
if (type == null)
throw new Exception(
string.Format("Can not load type '{0}' from assembly '{1}'",
- ds["ClassName"], Path.Combine(ds["PathToAssembly"], ds["AssemblyName"])));
+ ds["ClassName"], Path.Combine(config.LibDirectory , ds["AssemblyName"])));
var fi = type.GetField(ds["InstanceFieldName"]);
if (fi == null)
View
@@ -10,6 +10,7 @@
<OutputType>Library</OutputType>
<RootNamespace>AuthDemo.Host.Web</RootNamespace>
<AssemblyName>AuthDemo.Host.Web</AssemblyName>
+ <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
View
No changes.
View
No changes.
View
No changes.
View
No changes.
View
No changes.
View
No changes.
View
No changes.
View
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
No changes.
View
No changes.
View
@@ -99,22 +99,24 @@
<appSettings>
<add key="RedirectTo" value="WebApp" />
<add key="RecreateAuthTables" value="False" />
- <add key="RootDirectory" value="~/WebApp/photos/" />
-
+ <add key="RootDirectory" value="/home/angel/Projects/github/ServiceStack.AuthDemo/src/AuthDemo.Host.Web" />
+ <add key="PhotoDirectory" value="/home/angel/Projects/github/ServiceStack.AuthDemo/src/AuthDemo.WebApp/photos" />
+ <add key="LibDirectory" value="/home/angel/Projects/github/ServiceStack.AuthDemo/lib" />
+
<add key ="DialectProvider"
- value="Name:Sqlite,PathToAssembly:../../lib,AssemblyName:ServiceStack.OrmLite.Sqlite.dll,ClassName:ServiceStack.OrmLite.Sqlite.SqliteOrmLiteDialectProvider,InstanceFieldName:Instance"/>
-
+ value="Name:Sqlite,AssemblyName:ServiceStack.OrmLite.Sqlite.dll,ClassName:ServiceStack.OrmLite.Sqlite.SqliteOrmLiteDialectProvider,InstanceFieldName:Instance"/>
+
<!--
<add key ="DialectProvider"
- value="Name:PostgreSQL,PathToAssembly:../../lib,AssemblyName:ServiceStack.OrmLite.PostgreSQL.dll,ClassName:ServiceStack.OrmLite.PostgreSQL.PostgreSQLDialectProvider,InstanceFieldName:Instance"/>
+ value="Name:PostgreSQL,AssemblyName:ServiceStack.OrmLite.PostgreSQL.dll,ClassName:ServiceStack.OrmLite.PostgreSQL.PostgreSQLDialectProvider,InstanceFieldName:Instance"/>
!-->
- <!--
+ <!--
<add key="DialectProvider"
- value="Name:FirebirdSql,PathToAssembly:../../lib,AssemblyName:ServiceStack.OrmLite.Firebird.dll,ClassName:ServiceStack.OrmLite.Firebird.FirebirdOrmLiteDialectProvider,InstanceFieldName:Instance" />
- !-->
+ value="Name:FirebirdSql,AssemblyName:ServiceStack.OrmLite.Firebird.dll,ClassName:ServiceStack.OrmLite.Firebird.FirebirdOrmLiteDialectProvider,InstanceFieldName:Instance" />
+ !-->
<!--
<add key="DialectProvider"
- value="Name:MySql,PathToAssembly:../../lib,AssemblyName:ServiceStack.OrmLite.MySql.dll,ClassName:ServiceStack.OrmLite.MySql.MySqlDialectProvider,InstanceFieldName:Instance" />
+ value="Name:MySql,AssemblyName:ServiceStack.OrmLite.MySql.dll,ClassName:ServiceStack.OrmLite.MySql.MySqlDialectProvider,InstanceFieldName:Instance" />
!-->
</appSettings>
<connectionStrings>
@@ -123,8 +125,8 @@
<add name="UserAuth" connectionString="User=sysdba;Password=masterkey;Database=employee.fdb;DataSource=localhost;Dialect=3;charset=ISO8859_1;" />
!-->
- <add name="ApplicationDb" connectionString="App_Data/ormlite.sqlite" />
- <add name="UserAuth" connectionString="App_Data/ormlite.sqlite" />
+ <add name="ApplicationDb" connectionString="/home/angel/Projects/github/ServiceStack.AuthDemo/src/AuthDemo.Host.Web/App_Data/ormlite.sqlite" />
+ <add name="UserAuth" connectionString="/home/angel/Projects/github/ServiceStack.AuthDemo/src/AuthDemo.Host.Web/App_Data/ormlite.sqlite" />
<!--
<add name="ApplicationDb" connectionString="Server = 127.0.0.1; Database = ormlite; Uid = root; Pwd = password" />
No changes.
View
No changes.
View
No changes.
No changes.
View
@@ -14,15 +14,20 @@ public AppConfig()
public AppConfig(IResourceManager resources)
{
- PhotoDirectory = resources.Get<string>("PhotoDirectory","~/WebApp/photos/")
- .MapHostAbsolutePath()
- .Replace('\\', Path.DirectorySeparatorChar);
+ RootDirectory = resources.GetString("RootDirectory");
+ PhotoDirectory = resources.GetString("PhotoDirectory");
+ LibDirectory = resources.GetString("LibDirectory");
}
public string PhotoDirectory { get; set; }
+ public string RootDirectory { get; set; }
+ public string LibDirectory { get; set; }
}
}
-
+/*
+ .MapHostAbsolutePath()
+.Replace('\\', Path.DirectorySeparatorChar);
+*/
No changes.
No changes.
View
No changes.
View
No changes.
No changes.
No changes.
No changes.
View
No changes.
No changes.
View
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
View
No changes.
View
No changes.
View
No changes.
View
No changes.
View
No changes.
View
No changes.
View
No changes.
View
No changes.
No changes.
View
No changes.
View
No changes.
View
No changes.
View
No changes.
No changes.
View
No changes.
No changes.
View
No changes.
View
No changes.
View
No changes.
View
0 src/AuthDemo.sln 100644 → 100755
No changes.

0 comments on commit 0cb1063

Please sign in to comment.