Base solution for your next web application

Activities of "heifengwll"

Or maybe like <system.web>

&lt;globalization culture=&quot;auto&quot; uiCulture=&quot;auto&quot;/&gt;
&lt;compilation debug=&quot;true&quot; targetFramework=&quot;4.5.2&quot;&gt;
  &lt;assemblies&gt;
    &lt;add assembly=&quot;System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&quot; /&gt;
    &lt;add assembly=&quot;System.Collections, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&quot; /&gt;
  &lt;/assemblies&gt;
&lt;/compilation&gt;

&lt;httpRuntime/&gt;
&lt;customErrors mode=&quot;Off&quot;/&gt;
&lt;pages controlRenderingCompatibilityVersion=&quot;4.0&quot;/&gt;

</system.web>

<cite>ismcagdas: </cite> Which version of ABP do you use ? Probably some assemblies depend on different versions of System.Collections. Adding a assembly redirect to web.config might solve your problem.

Thank you, ~~, have been resolved In my Web.config, node <system.web> <assemblies>, adding <add assembly="System.Collections, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />

Abp.0.12.0.2

I'll try this method Thank you ~ ~

vs2013、Windows7 1、select Multi Page Web Application download

2、nuget Microsoft.AspNet.WebApi.HelpPage

3、when view WebApi action Description ,like: <a class="postlink" href="http://localhost:61759/Help/Api/GET-api-MyTestWebApi-GetString">http://localhost:61759/Help/Api/GET-api ... -GetString</a>

4、dubug : at Areas\HelpPage\Views\Help\DisplayTemplatesHelpPageApiModel.cshtml Samples error: D:\ project \MyWeb\MyWeb.Web\Areas\HelpPage\Views\Help\DisplayTemplates\Samples.cshtml (6): error CS0012: Type "System.Collections.Generic.Dictionary'2 <T0,T1>" defined in the Assembly that is not referenced. You must add the assemblies "System.Collections, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" reference.

but If you set up a separate project, you do not have this error。

Anyone encountered this problem? Can anyone help me find the cause of the problem Thank you ~ ~

<cite>hikalkan: </cite> They are just used in AccountController for login, register etc. Current AccountController code is a mixed with web logic. We can stripe web logic and move login/register logic to an application service. If you say "why", I don't have a very good reason. Maybe this habit comes from standard MVC startup template :) Maybe I did not think that we can use the same register/login code from any other UI (like a mobile app). Anyway, we should think to move some of this code to app layer. Thanks for pointing this.

Thank you for your answer. I have some ideas.This project named Boilerplate, I think this should be a standard specification, provides accurate realization of the project. But because the AccountController dependency undermines the idea of DDD, would be confusing for beginners. Anyway, I tend to firm use the DTO, I suggest it is best to ABP + module add a zero project, as you recommended the use of DDD, but here would damage the ddd. Thanks again for answer.

Hi I am learning. When I download ABP + module zero, I don't understand why Web of layers depends on the Core User, Role entities. Isn't it should build data transfer objects to register, log in? Dependent on application layer. May I ask why you want to do? Thanks

Showing 1 to 6 of 6 entries