Posts by Erico Souza • 2,188 points
66 posts
-
5
votes2
answers1573
viewsQ: What is the advantage of a 1:1 relationship?
I have a database (Mysql), and in a table I’m having about 80 columns. I am thinking of separating this information into other tables, and maintaining a 1:1 relationship. But this can impact a…
-
1
votes1
answer331
viewsQ: How to view multi-request loading with Ionic 3 and Angular 4
How can I display a loading on the screen during the request time of 2 or more required with Ionic 3 and/or Angular 4? I tried to call the loading in the two requests, but whenever the request…
-
2
votes1
answer3360
viewsQ: Date format in Asp.net mvc
I’m having problems with the date format on en in an Asp.net mvc application. Where it displays error if the date is in the form dd/MM/yyyy HH:mm, and only let it pass if the date is in the formed…
-
0
votes1
answer100
viewsQ: How to change and maintain the mapping of classes and properties using ADO.net
When using a database I have tables and columns with names like: - tb_usuario usu_id last name usu_data_nasc - tb_product pro_id pro_name pro_desc_resumida pro_desc_completa When using ADO.NET…
-
2
votes1
answer227
viewsQ: Login with facebook in Xamarin Forms with Azure Mobile Apps
I’m building an app (with Xamarin.Forms Pcl), where I have a login with facebook, using the Azure Mobile Client SDK. It is possible to perform the authentication, however, right after the…
-
0
votes1
answer51
viewsA: Automatic scrolling of items with Angularjs
I managed to solve by creating a simple Directive app.directive('startTreadmill', function(){ return { link: function(scope, element, attr){ $(element).startTreadmill({ direction: "down"}); } } })…
-
0
votes1
answer51
viewsQ: Automatic scrolling of items with Angularjs
I have a list of items, within a div, with the directive of angular ng-repeat. And I need to use an automatic scroll on that list, similar to this one DEMONSTRATION (is, uses jquery’s…
-
4
votes1
answer991
viewsQ: How to use login in different areas on Asp.net mvc
I’m creating an app, where it has more than one Area, which is restricted. (as shown in the image below). My question is how to login in different areas? Details: As users of the Admin area and the…
-
9
votes1
answer4502
viewsA: Display (decimal) value without rounding
After a lot of research, I found the article (according to the link below) that specifies and exemplifies well my need. What I had to do was add the Annotation in the corresponding property value,…
-
3
votes1
answer4502
viewsQ: Display (decimal) value without rounding
Hello, using a database mysql, with Asp.net mvc c#, have in the database the following value (of decimal type): 48.205864 So when I just make one select, and bring it to the screen, is displayed…
-
0
votes2
answers634
viewsQ: JSP how to include a select within a checkbox
I am developing a web application, with java spring mvc, and need to list items in a dynamic checkboxList and include a select option in each item. Something that in html would be similar to the…
-
3
votes2
answers1623
viewsQ: Picking rows from a table by a value with Jquery
I have a table, with a select, in each row, and by clicking a button I want to get all the items in the table where the select option be of value. <table id="myTable"> <span…
-
1
votes0
answers318
viewsQ: Crud with tables related in spring mvc
I’m developing an application java, using spring mvc. And in a functionality CRUD, I have an Incident Registration screen. On this screen, I have the fields mapped according to Incident.java.…
-
0
votes1
answer140
viewsQ: Simulate different Timezone with Java
I developed a web application (with java) and there I have a business rule that needs to save the user’s subscription time. But I need to save 3 times: user’s local Timezone, global Timezone, and…
-
2
votes1
answer436
viewsQ: Is MVC viable and recommended in Android projects?
I am working on a mobile project where it is necessary to migrate a legacy application, which was developed to Windows Mobile 6.1 (handheld), to the Android. This application has been developed…
-
1
votes1
answer44
viewsA: Type problem with Projectionlist in criteria
Could not make explicit conversion inside the Projections.sum, so I had to go in search of other resources, and I changed the Setter of my DTO to receive a Integer as parameter, and within it do the…
-
0
votes1
answer44
viewsQ: Type problem with Projectionlist in criteria
I’m having a problem in java giving the following error: in class: com.app.myApp.ReportDTO, setter method of property: indicator expected type: java.lang.Double, actual value:…
-
6
votes1
answer633
viewsQ: Return data as JSON using ASP.NET MVC
When developing a web application, using ASP.NET MVC, I need to return the layer of view, data as JSON in the following format: { 'title': 'Gallery 1', 'description': 'Description of gallery...',…
-
12
votes2
answers2381
viewsQ: Router and URL-friendly with Asp.net mvc
How I Route and url friendly (dynamically) in my web application, using Asp.net mvc 5? Currently I have the url: http://myapp.com/Produto/Details/7 And I want to route it so it looks like this:…
-
3
votes1
answer245
viewsQ: Exception when generating Controller with Entity Framework
In my application using Asp.net mvc, with Entity Framework 6, with Mysql, when trying to add the Controllers, with Views, using EPH, I have the following error: Settings of my web config.:…
-
5
votes1
answer1081
viewsQ: How to call Procedure using Asp.net MVC with Entity Framework
In an application Asp.net mvc, using ADO.NET with Entity framework and mysql, I have a procedure, that returns a listing. CREATE PROCEDURE SP_CATEGORIAS() BEGIN select * from (select a.id,…
-
7
votes2
answers1573
viewsQ: How to access next and previous record with C# using Entity Framework
I am developing a Windows Form application, with Entity Framework 6 + Mysql. As is common in systems, I have in each form navigation buttons (First Record, Previous Record, Next Record, Last Record)…
-
1
votes1
answer1332
viewsA: Uploading files using REST and Java
I made a change in ajax, and finally, I managed to get JAVA to receive the request $(document).ready(function () { $(function () { var form; $('#fileUpload').change(function (event) { form = new…
-
1
votes1
answer2311
viewsA: Database connection using Asp.net MVC
After studying and researching a lot and also learning in practice, I recognize that in an Asp.net mvc project, it is very useful to use the ADO.NET Entity Data Model. I had some difficulty at first…
asp.net-mvcanswered Erico Souza 2,188 -
0
votes1
answer145
viewsQ: Monitor Directory with Java Web
I’m working on an application Java Web, using the server Apache Tomcat and I need to monitor, or "listen" to a directory on the server. Asynchronously, and permanently. Because when a file is…
-
4
votes1
answer1630
viewsQ: Monetary values with Asp.net MVC
I am facing difficulty in working with monetary values (decimals) using web application, asp.net MVC, with database Mysql. The problem is I can’t edit decimal values, like: 53.50, or 53.50. I can’t…
-
2
votes1
answer630
viewsQ: Asp.net MVC class structure
Hello, I’ve been studying for a while asp.net mvc, and developing small projects, evolving and gaining knowledge every day more. One question I have, and I didn’t find much subject on the internet,…
-
1
votes1
answer4138
viewsQ: Consume REST service using Spring Framework
I am developing a web application, using Spring Framework. And I need to consume a service from another application. I know how to send requisitions POST, through using jquery and ajax, but I want…
-
3
votes1
answer2310
viewsQ: REST with Could not find error
I am trying to create a REST application, in Java web, very simple, using Tomcat 8 as a server. However, when trying to access the application: http://localhost:8080/aplicacao/rest/teste She brings…
-
3
votes1
answer537
viewsQ: Internationalization, Localization and Globalization
I have a project that needs to work with internationalization, where the web application needs to be available at least in portuguese and english, and perhaps also in Spanish. My biggest difficulty…
-
1
votes1
answer143
viewsQ: Difficulty with Repeater using Asp.net webforms
I’m having trouble dynamically rendering data into one redepeater in the Asp.net webforms. I feed the datasource from the database record, and in html, I need to include the tag </div><div…
-
3
votes1
answer1279
viewsQ: Problems with Tomcat 7
I have a Java web application installed on a Windows Server. When Startar Tomcat, it works normally, and addresses like: http://localhost:8085 and http://localhost:8085/examples (examples that…
-
1
votes1
answer787
viewsQ: HTML Tags for Razor Engine (Asp.net mvc C#)
I’m having difficulty in my web application with Asp.net mvc, of how to create forms using the Razor Engine. Below follows my HTML code. <form class="o-form" method="post"> <input…
-
1
votes1
answer2311
viewsQ: Database connection using Asp.net MVC
My doubt, maybe it is not somewhat technical, but rather of better concept, usability, or advantages. I have a good experience in developing Asp.net using webforms, and ultimamento I seek to expand…
asp.net-mvcasked Erico Souza 2,188 -
2
votes2
answers3862
viewsQ: Display dynamic images using Razor
Hello, I’m having trouble displaying dynamic images using Razor syntax in an Asp.net MVC 5 project. I have the image path stored in a column in the database, named Imagery. Below the code of my…
-
0
votes1
answer251
viewsQ: Handling JSON with Asp.net Web API
Hello, I’m setting up an educational application where I have a course schedule. In this project I am using a jquery calendar, and this one uses a json to assemble the dates that has scheduled…
-
1
votes1
answer388
viewsA: Stored Procedure with low performance
The solution I found, along with a co-worker, that worked improving performance, taking about 1 hour to process all the records. What before took about 28 hours. The solution we tested and worked…
-
3
votes1
answer157
viewsQ: Data overriding onClick command
Guys, I have a little problem in Asp.net webforms. And I made a nice pie. I know the solution to this might be a little simple, but I’m confused. Follows the code: public partial class Default :…
-
2
votes1
answer388
viewsQ: Stored Procedure with low performance
I’m having trouble at the Oracle, where I have two procedures that run one after the other. Where in the first procedure, I have a cursor that does insert on a table. This Insert has approximately…
-
4
votes1
answer2409
viewsQ: Many to many relationship with Asp.net MVC and Entity Framework
I’m creating a project to study Asp.net MVC 5 along with Entity Framework 6, and I came across a great doubt in a many to many relationship. I used the model generated from the database, and created…
asp.net-mvc-5asked Erico Souza 2,188 -
7
votes1
answer2089
viewsQ: Queries in Asp.net mvc with Entity framework
I’m starting a project in ASP.NET MVC 5 with Entity Framework 6, along with studies in mvc. This to have a better learning, and I came across the following doubt. In the controller have the method…
-
8
votes5
answers440
viewsA: What would an Agile Development Process look like?
firstly, whether or not opting for the agile development methodology, I believe that your project, should have the documentation of requirements specification, no matter how small, without many…
-
6
votes3
answers780
viewsQ: Is it feasible to change databases in an existing system?
I’m starting a project in ASP.NET MVC 5 with Entity Framework for a customer, where the customer has chosen to use a free database, in this case the Mysql. However, with the growth of the…
-
5
votes1
answer496
viewsQ: Changes to the database with Asp.net MVC 5
I am starting some independent projects using Asp.net MVC 5 with Entity Framework, and more learning from the technology. And at the moment a great doubt arose. I used the code generated through a…
-
0
votes1
answer704
viewsQ: Query Mysql in Visual Studio does not return all data
I have a problem in Visual Studio, where in my database access class, I have a query that makes a query in my Mysql database, and returns only the last result. Therefore, when I test this same query…
-
7
votes1
answer1284
viewsA: Links with LI inside
It’s not recommended, and it’s literally not right for you to put something like: <a><li></li></a> Thus, as defined in the HTML standards rules, by w3c, within the tag…
htmlanswered Erico Souza 2,188 -
1
votes1
answer638
viewsA: Problem with reading files in Java
To solve, in this particular case this file, which is actually a . csv, but with the extension . xls, I used a method already developed before for reading csv files and it worked. Thus able to…
javaanswered Erico Souza 2,188 -
7
votes2
answers822
viewsQ: Web application running in background
I am working on a Java web application, and I am creating and planning some specifications. In some specific modules I need some runs running in the background on the server. For example, the user…
javaasked Erico Souza 2,188 -
5
votes1
answer419
viewsQ: Problems using Java classes in Oracle Database
I’m having trouble using classes Java a little "complex" in the Oracle. When I use a simple class, as an example below: CREATE JAVA SOURCE NAMED "Welcome" AS public class Welcome { public static…
-
3
votes3
answers727
viewsQ: Does complex code interfere with application performance?
I have a somewhat legacy C# web application, which works on my client, but it’s been about 3 years. At the time, I programmed as I learned in college and did not know the concept of clean code. It…