2 |
3 |
4 |
5 | Debug
6 | AnyCPU
7 |
8 |
9 | 2.0
10 | {FD43863E-A66B-4AF4-9095-4F4A2D47254C}
11 | {349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}
12 | Library
13 | Properties
14 | SimpleFormGenerator.UI
15 | SimpleFormGenerator.UI
16 | v4.5.1
17 | false
18 | true
19 |
20 |
21 |
22 |
23 | ..\
24 | true
25 |
26 |
27 | true
28 | full
29 | false
30 | bin\
31 | DEBUG;TRACE
32 | prompt
33 | 4
34 |
35 |
36 | pdbonly
37 | true
38 | bin\
39 | TRACE
40 | prompt
41 | 4
42 |
43 |
44 |
45 | False
46 | ..\packages\Antlr.3.5.0.2\lib\Antlr3.Runtime.dll
47 |
48 |
49 | False
50 | ..\packages\EntityFramework.6.1.1\lib\net45\EntityFramework.dll
51 |
52 |
53 | ..\packages\EntityFramework.6.1.1\lib\net45\EntityFramework.SqlServer.dll
54 |
55 |
56 |
57 | False
58 | ..\packages\Newtonsoft.Json.6.0.6\lib\net45\Newtonsoft.Json.dll
59 |
60 |
61 | False
62 | ..\packages\structuremap.3.1.4.143\lib\net40\StructureMap.dll
63 |
64 |
65 | False
66 | ..\packages\structuremap.3.1.4.143\lib\net40\StructureMap.Net4.dll
67 |
68 |
69 | ..\packages\structuremap.web.3.1.0.133\lib\net40\StructureMap.Web.dll
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 | False
82 | ..\packages\Microsoft.AspNet.WebPages.3.2.2\lib\net45\System.Web.Helpers.dll
83 |
84 |
85 | False
86 | ..\packages\Microsoft.AspNet.Mvc.5.2.2\lib\net45\System.Web.Mvc.dll
87 |
88 |
89 | False
90 | ..\packages\Microsoft.AspNet.Razor.3.2.2\lib\net45\System.Web.Razor.dll
91 |
92 |
93 | False
94 | ..\packages\Microsoft.AspNet.WebPages.3.2.2\lib\net45\System.Web.WebPages.dll
95 |
96 |
97 | False
98 | ..\packages\Microsoft.AspNet.WebPages.3.2.2\lib\net45\System.Web.WebPages.Deployment.dll
99 |
100 |
101 | False
102 | ..\packages\Microsoft.AspNet.WebPages.3.2.2\lib\net45\System.Web.WebPages.Razor.dll
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 | True
115 | ..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll
116 |
117 |
118 |
119 |
120 |
121 |
122 | ..\packages\Microsoft.AspNet.Web.Optimization.1.1.3\lib\net40\System.Web.Optimization.dll
123 |
124 |
125 | False
126 | ..\packages\WebGrease.1.6.0\lib\WebGrease.dll
127 |
128 |
129 |
130 |
131 |
132 |
133 |
134 |
135 | Global.asax
136 |
137 |
138 |
139 |
140 |
141 |
142 |
143 |
144 |
145 |
146 |
147 |
148 |
149 |
150 |
151 |
152 |
153 |
154 |
155 |
156 |
157 |
158 |
159 |
160 |
161 |
162 |
163 |
164 |
165 |
166 |
167 |
168 |
169 |
170 |
171 |
172 |
173 | Web.config
174 |
175 |
176 | Web.config
177 |
178 |
179 |
180 |
181 |
182 |
183 |
184 |
185 |
186 |
187 |
188 |
189 |
190 |
191 |
192 |
193 |
194 |
195 |
196 |
197 |
198 |
199 |
200 | {7002C347-53D5-4740-AA88-B3160824D6FF}
201 | SimpleFormGenerator.DataLayer
202 |
203 |
204 | {28C4ED18-B820-48AA-B1F0-732DA9F674E8}
205 | SimpleFormGenerator.DomainClasses
206 |
207 |
208 | {596E4E08-C349-417F-850B-FD8170C18AE8}
209 | SimpleFormGenerator.ServiceLayer
210 |
211 |
212 |
213 | 10.0
214 | $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)
215 |
216 |
217 |
218 |
219 |
220 |
221 |
222 |
223 |
224 |
225 |
226 | True
227 | True
228 | 48697
229 | /
230 | http://localhost:48697/
231 | False
232 | False
233 |
234 |
235 | False
236 |
237 |
238 |
239 |
240 |
241 |
242 |
243 | This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.
244 |
245 |
246 |
247 |
253 |
--------------------------------------------------------------------------------
/SimpleFormGenerator.UI/SimpleFormGenerator.UI.csproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | ProjectFiles
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 | CurrentPage
13 | True
14 | False
15 | False
16 | False
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 | True
26 | True
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/SimpleFormGenerator.UI/Views/DynamicForm/CreateField.cshtml:
--------------------------------------------------------------------------------
1 | @model SimpleFormGenerator.DomainClasses.Field
2 |
3 | @{
4 | ViewBag.Title = "CreateField";
5 | }
6 |
7 | @using (Html.BeginForm())
8 | {
9 | @Html.AntiForgeryToken()
10 |
11 |
59 | }
60 |
61 |
62 | @Html.ActionLink("بازگشت ", "Index")
63 |
64 |
--------------------------------------------------------------------------------
/SimpleFormGenerator.UI/Views/DynamicForm/CreateForm.cshtml:
--------------------------------------------------------------------------------
1 | @model SimpleFormGenerator.DomainClasses.Form
2 |
3 | @{
4 | ViewBag.Title = "CreateForm";
5 | }
6 |
7 |
8 | @using (Html.BeginForm())
9 | {
10 | @Html.AntiForgeryToken()
11 |
12 |
37 | }
38 |
39 |
40 | @Html.ActionLink("بازگشت", "Index")
41 |
42 |
--------------------------------------------------------------------------------
/SimpleFormGenerator.UI/Views/DynamicForm/Index.cshtml:
--------------------------------------------------------------------------------
1 | @model IEnumerable
2 |
3 | @{
4 | ViewBag.Title = "Dynamic Form";
5 | }
6 |
7 | @Html.ActionLink("ایجاد فرم", "CreateForm")
8 |
9 |
10 |
11 | کد |
12 | عنوان فرم |
13 | مربوط به صفحه |
14 | عملیات |
15 |
16 |
17 | @foreach (var form in Model)
18 | {
19 |
20 | @form.Id |
21 | @form.Title |
22 | @form.Page |
23 |
24 | @Html.ActionLink("تعریف فیلد", "CreateField") |
25 | @Html.ActionLink("مشاهده فرم", "ShowForm", new { id = form.Id })
26 | |
27 |
28 | }
29 |
--------------------------------------------------------------------------------
/SimpleFormGenerator.UI/Views/DynamicForm/ShowForm.cshtml:
--------------------------------------------------------------------------------
1 | @using SimpleFormGenerator.DomainClasses
2 | @model IEnumerable
3 |
4 | @{
5 | ViewBag.Title = "ShowForm";
6 | }
7 |
8 | @Html.ValidationSummary(true)
9 |
10 |
11 |
12 |
13 | @using (Html.BeginForm())
14 | {
15 | @Html.AntiForgeryToken()
16 | for (int i = 0; i < Model.Count(); i++)
17 | {
18 | if (Model.ElementAt(i).FieldType == FieldType.Text)
19 | {
20 |
21 |
22 |
23 |
24 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 | }
39 | }
40 |
45 | }
46 |
47 |
48 | @Html.ActionLink("بازگشت", "Index")
49 |
50 |
51 |
--------------------------------------------------------------------------------
/SimpleFormGenerator.UI/Views/Home/About.cshtml:
--------------------------------------------------------------------------------
1 | @{
2 | ViewBag.Title = "About";
3 | }
4 | @ViewBag.Title.
5 | @ViewBag.Message
6 |
7 | Use this area to provide additional information.
8 |
--------------------------------------------------------------------------------
/SimpleFormGenerator.UI/Views/Home/Contact.cshtml:
--------------------------------------------------------------------------------
1 | @{
2 | ViewBag.Title = "Contact";
3 | }
4 | @ViewBag.Title.
5 | @ViewBag.Message
6 |
7 |
8 | One Microsoft Way
9 | Redmond, WA 98052-6399
10 | P:
11 | 425.555.0100
12 |
13 |
14 |
15 | Support: Support@example.com
16 | Marketing: Marketing@example.com
17 |
--------------------------------------------------------------------------------
/SimpleFormGenerator.UI/Views/Home/Index.cshtml:
--------------------------------------------------------------------------------
1 | @{
2 | ViewBag.Title = "Home Page";
3 | }
4 |
5 |
6 |
ASP.NET
7 |
ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS and JavaScript.
8 |
Learn more »
9 |
10 |
11 |
12 |
13 |
Getting started
14 |
15 | ASP.NET MVC gives you a powerful, patterns-based way to build dynamic websites that
16 | enables a clean separation of concerns and gives you full control over markup
17 | for enjoyable, agile development.
18 |
19 |
Learn more »
20 |
21 |
22 |
Get more libraries
23 |
NuGet is a free Visual Studio extension that makes it easy to add, remove, and update libraries and tools in Visual Studio projects.
24 |
Learn more »
25 |
26 |
27 |
Web Hosting
28 |
You can easily find a web hosting company that offers the right mix of features and price for your applications.
29 |
Learn more »
30 |
31 |
--------------------------------------------------------------------------------
/SimpleFormGenerator.UI/Views/Shared/Error.cshtml:
--------------------------------------------------------------------------------
1 | @{
2 | Layout = null;
3 | }
4 |
5 |
6 |
7 |
8 |
9 | Error
10 |
11 |
12 |
13 | Error.
14 | An error occurred while processing your request.
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/SimpleFormGenerator.UI/Views/Shared/_Layout.cshtml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | @ViewBag.Title - My ASP.NET Application
7 | @Styles.Render("~/Content/css")
8 | @Scripts.Render("~/bundles/modernizr")
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 | @ViewBag.FormTitle
18 | @RenderBody()
19 |
20 |
21 |
22 |
23 |
27 |
28 |
29 |
30 |
31 |
32 | @Scripts.Render("~/bundles/jquery")
33 |
34 |
35 | @Scripts.Render("~/bundles/bootstrap")
36 | @RenderSection("scripts", required: false)
37 |
38 |
39 |
--------------------------------------------------------------------------------
/SimpleFormGenerator.UI/Views/Web.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/SimpleFormGenerator.UI/Views/_ViewStart.cshtml:
--------------------------------------------------------------------------------
1 | @{
2 | Layout = "~/Views/Shared/_Layout.cshtml";
3 | }
4 |
--------------------------------------------------------------------------------
/SimpleFormGenerator.UI/Web.Debug.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
17 |
18 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/SimpleFormGenerator.UI/Web.Release.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
17 |
18 |
19 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/SimpleFormGenerator.UI/Web.config:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
--------------------------------------------------------------------------------
/SimpleFormGenerator.UI/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SirwanAfifi/SimpleFormGenerator/5f9bd6be70dc37a5419bc3525ffd3f5f153d46ff/SimpleFormGenerator.UI/favicon.ico
--------------------------------------------------------------------------------
/SimpleFormGenerator.UI/fonts/glyphicons-halflings-regular.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SirwanAfifi/SimpleFormGenerator/5f9bd6be70dc37a5419bc3525ffd3f5f153d46ff/SimpleFormGenerator.UI/fonts/glyphicons-halflings-regular.eot
--------------------------------------------------------------------------------
/SimpleFormGenerator.UI/fonts/glyphicons-halflings-regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SirwanAfifi/SimpleFormGenerator/5f9bd6be70dc37a5419bc3525ffd3f5f153d46ff/SimpleFormGenerator.UI/fonts/glyphicons-halflings-regular.ttf
--------------------------------------------------------------------------------
/SimpleFormGenerator.UI/fonts/glyphicons-halflings-regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SirwanAfifi/SimpleFormGenerator/5f9bd6be70dc37a5419bc3525ffd3f5f153d46ff/SimpleFormGenerator.UI/fonts/glyphicons-halflings-regular.woff
--------------------------------------------------------------------------------
/SimpleFormGenerator.UI/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/SimpleFormGenerator.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 2013
4 | VisualStudioVersion = 12.0.30501.0
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Infrastructure", "Infrastructure", "{97CBD754-5BF5-4799-A960-541A8B00B1F0}"
7 | EndProject
8 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "MvcApp", "MvcApp", "{F2296196-63B4-4F06-8F33-396AA948E417}"
9 | EndProject
10 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleFormGenerator.DataLayer", "SimpleFormGenerator.DataLayer\SimpleFormGenerator.DataLayer.csproj", "{7002C347-53D5-4740-AA88-B3160824D6FF}"
11 | EndProject
12 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleFormGenerator.DomainClasses", "SimpleFormGenerator.DomainClasses\SimpleFormGenerator.DomainClasses.csproj", "{28C4ED18-B820-48AA-B1F0-732DA9F674E8}"
13 | EndProject
14 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleFormGenerator.ServiceLayer", "SimpleFormGenerator.ServiceLayer\SimpleFormGenerator.ServiceLayer.csproj", "{596E4E08-C349-417F-850B-FD8170C18AE8}"
15 | EndProject
16 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleFormGenerator.UI", "SimpleFormGenerator.UI\SimpleFormGenerator.UI.csproj", "{FD43863E-A66B-4AF4-9095-4F4A2D47254C}"
17 | EndProject
18 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{8CBD56B3-F2EB-4241-82E3-F1259AB7F029}"
19 | ProjectSection(SolutionItems) = preProject
20 | .nuget\NuGet.Config = .nuget\NuGet.Config
21 | .nuget\NuGet.exe = .nuget\NuGet.exe
22 | .nuget\NuGet.targets = .nuget\NuGet.targets
23 | EndProjectSection
24 | EndProject
25 | Global
26 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
27 | Debug|Any CPU = Debug|Any CPU
28 | Release|Any CPU = Release|Any CPU
29 | EndGlobalSection
30 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
31 | {7002C347-53D5-4740-AA88-B3160824D6FF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
32 | {7002C347-53D5-4740-AA88-B3160824D6FF}.Debug|Any CPU.Build.0 = Debug|Any CPU
33 | {7002C347-53D5-4740-AA88-B3160824D6FF}.Release|Any CPU.ActiveCfg = Release|Any CPU
34 | {7002C347-53D5-4740-AA88-B3160824D6FF}.Release|Any CPU.Build.0 = Release|Any CPU
35 | {28C4ED18-B820-48AA-B1F0-732DA9F674E8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
36 | {28C4ED18-B820-48AA-B1F0-732DA9F674E8}.Debug|Any CPU.Build.0 = Debug|Any CPU
37 | {28C4ED18-B820-48AA-B1F0-732DA9F674E8}.Release|Any CPU.ActiveCfg = Release|Any CPU
38 | {28C4ED18-B820-48AA-B1F0-732DA9F674E8}.Release|Any CPU.Build.0 = Release|Any CPU
39 | {596E4E08-C349-417F-850B-FD8170C18AE8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
40 | {596E4E08-C349-417F-850B-FD8170C18AE8}.Debug|Any CPU.Build.0 = Debug|Any CPU
41 | {596E4E08-C349-417F-850B-FD8170C18AE8}.Release|Any CPU.ActiveCfg = Release|Any CPU
42 | {596E4E08-C349-417F-850B-FD8170C18AE8}.Release|Any CPU.Build.0 = Release|Any CPU
43 | {FD43863E-A66B-4AF4-9095-4F4A2D47254C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
44 | {FD43863E-A66B-4AF4-9095-4F4A2D47254C}.Debug|Any CPU.Build.0 = Debug|Any CPU
45 | {FD43863E-A66B-4AF4-9095-4F4A2D47254C}.Release|Any CPU.ActiveCfg = Release|Any CPU
46 | {FD43863E-A66B-4AF4-9095-4F4A2D47254C}.Release|Any CPU.Build.0 = Release|Any CPU
47 | EndGlobalSection
48 | GlobalSection(SolutionProperties) = preSolution
49 | HideSolutionNode = FALSE
50 | EndGlobalSection
51 | GlobalSection(NestedProjects) = preSolution
52 | {7002C347-53D5-4740-AA88-B3160824D6FF} = {97CBD754-5BF5-4799-A960-541A8B00B1F0}
53 | {28C4ED18-B820-48AA-B1F0-732DA9F674E8} = {97CBD754-5BF5-4799-A960-541A8B00B1F0}
54 | {596E4E08-C349-417F-850B-FD8170C18AE8} = {97CBD754-5BF5-4799-A960-541A8B00B1F0}
55 | {FD43863E-A66B-4AF4-9095-4F4A2D47254C} = {F2296196-63B4-4F06-8F33-396AA948E417}
56 | EndGlobalSection
57 | EndGlobal
58 |
--------------------------------------------------------------------------------
/SimpleFormGenerator.v12.suo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SirwanAfifi/SimpleFormGenerator/5f9bd6be70dc37a5419bc3525ffd3f5f153d46ff/SimpleFormGenerator.v12.suo
--------------------------------------------------------------------------------