Posts by Mr Anderson • 399 points
13 posts
-
-1
votes1
answer39
viewsQ: How to share menu between ASP.net core applications
How to share menu between applications? We have several applications and all have the same menu, example: Home | Beneficiary | Accredited When new item appears we need to replicate in all…
-
5
votes1
answer128
viewsQ: Use of Dataannotations in DDD projects
We are with a doubt that analyst raised, when I use Dataannotations in Viewmodel in projects that use DDD in the case have a Domain layer and in the case will not expand, this use would eliminate…
-
2
votes1
answer63
viewsQ: Does Not Record IIS error System.Diagnostics.Xmlwritertracelistener
I did a test project on Github to demonstrate Log working with System.Diagnostics.Xmlwritertracelistener everything works on my machine, but when I play on the server only records information and…
-
3
votes1
answer36
viewsQ: How to open an external MVC3 application on MVC5?
I have an application in MVC3 and I have to call another application hosted on the same server, this in MVC5. Should I use an ajax? I must make a iframe? So: has a menu that is MVC3 and has to keep…
asp.net-mvcasked Mr Anderson 399 -
4
votes1
answer145
viewsQ: Sharepoint with MVC 5 what better way to work?
My question is which form of Hosting should I use? Provider-Hosted Autohosted Sharepoint-Hosted Application will stay on the server to be consumed by internal users and to external users. Our team…
-
0
votes3
answers494
viewsA: Problem with a Boolean field on Asp.net MVC
Place the property int?. This is because you need to have some value in the field, if it is mandatory you need to pass this value, otherwise put as null.
-
7
votes1
answer15160
viewsQ: A potentially dangerous value Request.Form has been detected in the client
I’m having trouble sending this type of input in the input field: &&&&%$&#_(@)(#_!**@#)24 R87R XDHNSIFN 89Q7201784 Dangerous Resquest.Form Error occurs. Error message: Controller…
-
1
votes1
answer124
viewsQ: Is it possible to do Phonegap together with Asp.Net MVC 5 in a single project?
I would like to know if there is a possibility of making a Solution in DDD Design with two View Ports, being one for mobile app using Phonegap and the other MVC 5. I want to make an activity…
-
0
votes3
answers220
viewsA: How to enable single-model Cascade
My application put the following commands and solve the problem you reported: protected override void OnModelCreating(DbModelBuilder modelBuilder) {…
entity-framework-6answered Mr Anderson 399 -
2
votes2
answers718
viewsQ: Entity Framework or Stored Procedure
When to use Entity Framework example: var registros = db.Tabela.AsQueryable(); registros = registros.Where(r => (intTipo == 0 || r.IdTipo == intTipo) && r.IdArea == intIdArea &&…
-
0
votes1
answer1056
viewsQ: Entity Framework DDD Generic Infrarepository
How to do JOIN via lambda in the generic repository. I’m following the DDD architecture model. Example: public class BaseRepository<T> : IRepositoryBase<T> where T : class { private…
-
3
votes1
answer3595
viewsQ: Using Jquery Datatables with ASP.NET MVC 5
I have doubts how to use Datatables with MVC 5 and with Submit button returning a Json as per the site: Datatables $(document).ready(function() { $('#example').dataTable( { "processing": true,…
-
1
votes0
answers53
viewsQ: Page a very large list
Grid in MVC - I have a lot of data to return and I didn’t want to bring all of a single see even why there is paging. How do I get 10 records? Which grid to use together with MVC and Entity…