Posts by Bruno Heringer • 1,338 points
64 posts
-
0
votes1
answer4366
viewsA: The web server is configured not to list the contents of this directory
To log the solution here: My Maproute needed to look like this (with the . Datatokens): routes.MapRoute( name: "Default", url: "{controller}/{action}/{id}", defaults: new { area = "Geral",…
-
0
votes1
answer4366
viewsQ: The web server is configured not to list the contents of this directory
My project ran smoothly, when I needed to divide them into Areas. Then all my old controller (which ran perfectly) was migrated to a certain Area. The areas have been mapped and even updated…
-
0
votes1
answer155
viewsQ: Treat Exception in Jquery Post
I have this function Javascript (Post Ajax) that when the post she’s passing theif (r != "") {. I needed to capture what was an exception and treat her out of the if. JavaScript function…
-
1
votes1
answer53
viewsQ: Cast shapes with interface
wanted to know what are the possibilities (but which one is more suitable) to do a cast with interface. public class ClasseTeste1 : IMinhaInterface { ... } public class ClasseTeste2 :…
-
5
votes2
answers142
viewsQ: Delete all references that are not in use in Visual Studio?
I wish to exclude all references (I am not talking about using in the class files) that are not being used. For this, of course, I need at least an effective way to find out which references are not…
-
3
votes2
answers347
viewsQ: Ignore a specific Exception
In my try-catch, I want to record the exception that occurred within an object (for historical effect, necessary for the business rule, since this section takes place in a processing via integration…
-
2
votes2
answers794
viewsA: Boletonet | Error generating shipment file
To register here and help the community, I will describe what I did to resolve. First, with the tips of the companions(as) Jbueno and Taisbevalle, I downloaded the code of Boleto.Net and debugged.…
billetanswered Bruno Heringer 1,338 -
1
votes2
answers794
viewsQ: Boletonet | Error generating shipment file
Hello, I need help with this problem. It’s from Boleto.NET and as I saw that the community here has a lot of knowledge about it, I decided to post. The Code below illustrates what I am going…
billetasked Bruno Heringer 1,338 -
1
votes1
answer112
viewsQ: Entity Framework Error | not handled in user code
Hello, I need help in the following scenario. I have a class, where the field is Int64 in the backend and in SQL Server the field is bigint. ObjClasse.VariavelInteira = numInt; db.SaveChanges();…
entity-frameworkasked Bruno Heringer 1,338 -
4
votes2
answers17484
viewsA: Host images to an HTML in Google Drive
I got a very simple solution of hosting images on Google Drive for some HTML. A very simple way to do this is: 1º - Mark your folder where the images will be in Google Drive as Public (Sharing =>…
google-drive-apianswered Bruno Heringer 1,338 -
2
votes2
answers17484
viewsQ: Host images to an HTML in Google Drive
I have a simple question, but I still haven’t found the exact reference to solve it. I just know that there is the possibility. I want to host an image for an HTML in Google Drive to be accessible…
google-drive-apiasked Bruno Heringer 1,338 -
1
votes1
answer3116
viewsQ: ERROR Security.Securityexception - HOST Locaweb
Hello, I need help with the error below: My HOST is Locaweb, and I’m trying to run my ASP.NET MVC application but it gives error of Security.SecurityException. All the references I found indicate to…
-
0
votes2
answers119
viewsA: Calling an Accountcontroller function
Your question is lacking in detail, but almost guaranteed that you’re forgetting to add some reference (using) or controllers may be in separate namespaces. If you’re having trouble calling actions…
-
2
votes1
answer109
viewsQ: Change function return to synchronous
Hello, I need to modify this function to use callback as a function return and not as a new function call via callback. I need it this way because I am creating a generic method for exclusion…
javascriptasked Bruno Heringer 1,338