Posts by Edmar Munhoz • 1,057 points
50 posts
-
0
votes1
answer473
viewsQ: Save an object with a list using Spring Crudrepository
Hello, Is there any way to save an object with an object list (Set)? For example, I have the Artist and Album objects, Artist has a list of Albuns (Set). I would like when saving the Artist also…
-
0
votes3
answers204
viewsQ: Order by or filter in Sql Server
It’s possible to use order by or some filter in Ner Join or left Join or I’m trying to do it wrong. I need to bring in a query a column that is in a daughter table, but I need it to be the column of…
-
0
votes0
answers377
viewsQ: In which layer turn Domain into DTO
Hello, in an Asp.Net MVC application the architecture has domain entity classes, Dtos and Viewmodels. The transformation of the Viewmodels I do in the controller, so far so good, but in which layer…
-
4
votes1
answer1058
viewsQ: Data gets wrong when converting to Date in Javascript
Hello, I have an API in . net that returns the data, the date comes in format: 2016-06-17T00:00:00 and I try to convert it to date in Javascript, so I do the following: var data = new…
-
0
votes2
answers78
viewsA: Serialize Nhibernate object for JSON
I managed to serialize, I believe it should be because the mapping was with Lazy enabled, I put the Lazy loads to false and it worked.
-
0
votes2
answers78
viewsQ: Serialize Nhibernate object for JSON
How can I serialize a Nhibernate object for JSON. When I try to serialize error by saying that it is not possible to serialize an object in context.
-
2
votes0
answers569
viewsQ: Angular 2 mask directive does not put the mask on the screen start
Hi, I made a directive on Angular 2 to put masks on some fields, one of them the zip code. It works right, the only thing I could not do is that when loading the data in the fields of the screen the…
-
2
votes0
answers359
viewsQ: Error Maximum call stack size exceeded
In an application made in Angular 2 I need to assemble a report in html, I consult the data by API and monster the data in html through data-bind, only this error occurs: EXCEPTION: Error: Uncaught…
-
0
votes1
answer523
viewsA: How to perform a C# CRUD with Mysql and ADO
Lucas, in this case you will have to have a CRUD for Sizes, Sizes must be registered before you try to register a Product. In product you will only reference the sizes, in this case it will be a…
-
3
votes1
answer499
viewsQ: Force Javascript File Version Update
I am developing an application in Angular2 and I am facing a problem which is updating the files JS. When I update the version sometimes the browser does not load the new file, it uses the old one.…
-
0
votes0
answers104
viewsQ: Enable CORS in the request header
someone knows if they can enable CORS in the ajax request header without having to do anything on the API server, similar to what POSTMAN does. With POSTMAN as you test the API and it works right…
-
0
votes3
answers5600
viewsQ: Remove input letters using Javascript and regular expression
I have an input field that gets a value. I would like to remove letters and special characters from the value of that input, leaving only numbers. I think it would be easier to use a replace with a…
-
1
votes0
answers797
viewsQ: Mask or format input value at angular2
How can I format or use masks on inputs with angular2, for example for money In this input: <input type="text" class="form-control input-sm text-right" id="representPercDiagnostico"…
-
-1
votes2
answers515
viewsA: Parameter query string Asp.net MVC
I believe that the best option would be for you to change a little the way you access it, if the user can only see their own data then maybe you wouldn’t even pass the id to the action. How and your…
-
0
votes2
answers303
viewsA: How to use the same ZPL code on different dpi printers
What if you show a screen for the user to choose the printer and you create a dynamic configuration in the generation of ZPL code? So it wouldn’t work?
c#answered Edmar Munhoz 1,057 -
1
votes1
answer91
viewsQ: Source code versioning with approval
Hello, today for code versioning in the company we use Tortoise SVN and would like to start using a versioner that when the developer commits something before the changes are merged with the…
-
2
votes2
answers576
viewsQ: Integration of two different applications in ASP.NET MVC
Hello, I need to integrate two different applications: one is a client business administration application and the other a financial management application. They are two separate applications, so…
-
2
votes1
answer55
viewsQ: Sql generated by Linq
Hello, I would like to know how to see the sql code that a String expression generates to be executed by ADO.Net. I am using Nhibernate as a ORM framework.
-
2
votes1
answer185
viewsQ: Doubt Model Service DDD
I have a question about a project that follows the DDD architecture model. In a service model I need information that is the result of a method from another service, which is the correct way for me…
-
1
votes1
answer60
viewsQ: Number of accesses per page
Hello, can anyone tell me if IIS has any resource that I can see how many hits each page had?
-
9
votes1
answer298
viewsQ: Find slow point in code . NET
I need to analyze a code that is taking too long to execute, the method code is extensive and makes several calls to other methods, I was thrashing to try to identify the point of slowness, but so…
-
0
votes2
answers221
viewsA: Dropdownlist in views Asp.net mvc of the validation error
I managed to solve the problem, I was doing wrong, I changed to point to the Bank ID and not to the bank itself and it worked: @HTML.Dropdownlistfor(model => model.Banco.Id, (Selectlist)…
-
0
votes2
answers221
viewsQ: Dropdownlist in views Asp.net mvc of the validation error
In a view razor of asp.net mvc I have a dropdownlist with the following code: @Html.DropDownListFor(model => model.Banco, (SelectList) ViewBag.Banco, new {@class = "form-control"}) Even selecting…
-
0
votes1
answer855
viewsQ: Location and maps
Hello, I will work on an application that I will have to work with localization and maps, basically the user will inform an address and will appear to him nearby locations, so I wanted to know +-…
-
2
votes4
answers2691
viewsA: Reports with Asp.Net MVC
Thank you all for the good suggestions I received, but I ended up choosing to generate the reports in HTML and I am using Mvcrazortopdf to generate the pdfs. Project link on Github:…
-
1
votes1
answer318
viewsA: Report Viewer with object dataset
I did not test, but I asked the same question in MSDN and I got that answer:…
-
0
votes1
answer52
viewsA: Reference error
In the Asp.Net Web API dll reference was pointing to the . Net Framework folder in C:, I installed the Web API in the project by Nuget and resolved.
-
0
votes3
answers3309
viewsA: Generate PDF with Asp.Net MVC
I am using Mvcrazortopdf Link: https://github.com/andyhutch77/MvcRazorToPdf As suggested in this link:…
-
0
votes1
answer73
viewsA: Mapping Onetomany Nhibernate
The answer is yes, as per comment and this link: https://social.msdn.microsoft.com/Forums/pt-BR/dec6171d-6046-4ab8-8a4c-ea1cd5b307cf/mapeamento-onetomany-nhibernate?forum=mvcpt…
-
1
votes1
answer344
viewsQ: Ninject dependency injection for more than one web project
Hello, in an application I have a MVC web project and a Web API project, in the MVC project I already have the Ninject configured with the dependency injections and I would like to take advantage of…
-
2
votes1
answer346
viewsQ: Billet generation
Hello, I need to generate billets in an application. I’ve never worked with billet generation. Could someone explain to me where to start, what are the first steps, the path of the stones? I gave a…
-
1
votes1
answer318
viewsQ: Report Viewer with object dataset
Hello, I’m wanting to assemble a report in Reportviewer but I wanted to use an object as a data source, I saw some articles on the internet but I can’t make Reportviewer find my object to select, it…
-
8
votes4
answers2691
viewsQ: Reports with Asp.Net MVC
Hello, I would like to know some options of reports with Asp.Net MVC. I tried to use Reportviewer but it gets typed with the bank and not to use with objects. Would anyone have any suggestions?…
-
0
votes1
answer52
viewsQ: Reference error
Hello, I copied a Solution from one folder to another and started giving some reference errors, is an Asp.Net application that has a web API project. In the original folder the application is…
-
4
votes3
answers3309
viewsQ: Generate PDF with Asp.Net MVC
Hello, in my application the reports are generated in Html, I would like to know a way to generate these Html reports in PDF.
-
5
votes2
answers676
viewsQ: HTML element inside an Actionlink
Hi, I was wondering if it is possible to create an HTML element inside a ActionLink, for example: To create a link in a menu with ActionLink: @Html.ActionLink("Classificação Financeira", "Index",…
-
1
votes0
answers81
viewsQ: Bag nhibernate with key null
Hello, Does anyone know if it is possible to use nhibernate Bag with Key Null? In a table some records have several related records, one for many, but not always, sometimes a region will not have…
-
2
votes1
answer139
viewsQ: nhibernate with more than one database
Hello, I wonder if it is possible to use nhibernate with more than one database, some tables will be in one database and others in another. How would I do that? And in entity mappings, how would I…
-
0
votes1
answer73
viewsQ: Mapping Onetomany Nhibernate
Hello, In an application has a class that I need to do a Onetomany mapping, this parent class will be responsible for performing the persisntecia of the daughter class. My question is, I mapped Bag…
-
2
votes1
answer99
viewsQ: nhibernate save string in upper case (uppercase)
Hello, is there any nhibernate mapping option to save the fields string on-mode uppercase? Thank you.
-
1
votes1
answer68
viewsQ: Configuration table
How could I use a configuration table in nhibernate? That is, a table of only one record and that it only controlled this record, I know you have how to do this via application, but I wanted to know…
-
5
votes2
answers2885
viewsQ: Blocked cross-origin request
Hello, I am trying to load a page from another application into a div of my application using the jQuery load but my application is not loading the page and shows the following error message:…
-
4
votes4
answers228
viewsQ: Read XML documentation generated by Visual Studio
How can I read the XML documentation generated by Visual Studio in any way that is formatted?
-
6
votes0
answers151
viewsQ: How to avoid Paper Feed
Hello, I am using a Engeworks non tax thermal printer to print payment vouchers, I am using the Generic Text Only driver. The problem is that she prints the vouchers as if they were whole pages and…
-
2
votes1
answer197
viewsQ: Javascript and Activex permissions on IIS
Hello, an Asp.Net MVC application uses Scripting.Filesystemobject to create text files. On the development machine works normally, this application was published on an IIS server and also worked…
-
4
votes1
answer3333
viewsQ: Error while consuming Web API
Hello, in an ASP.NET MVC web project I am trying to consume an API that is a Web API project, the two applications are running on the same server. When I access the MVC application error occurs when…
-
0
votes1
answer241
viewsQ: Javascript and Activex printing
I’m needing to make printing from a web application, I believe I will have to do this with Javascript and also by what I researched maybe I will have to do this with Activex. I’ve tried to use…
-
5
votes1
answer361
viewsQ: Back debug line
In the old Visual Basic if you were on debug step-by-step and unintentionally pass a line I wanted to check, there was the option to go with the cursor to the line above and press the key…
-
3
votes1
answer67
viewsQ: Remove namespace or full names
My question is if there is any shortcut, command or Visual Studio function that removes namespace or full class names, for example: for you to add a Data Annotation without doing a using vc you have…
-
1
votes1
answer112
viewsQ: Plugin for Visual Studio to create javascript
Hello, Does anyone know any plugin for Visual Studio to create Region in javascript codes? Thank you.