Questions tagged as 'asp.net'

1
answer

What is the purpose of "ASP.Net" folders?

In Visual Studio it gives me the option to "Add ASP.NET Folder". What would be their purpose? If possible I would like you to speak at least a little about each one.     
asked by 01.01.2018 / 00:32
1
answer

Open and close connection every time looping

I have an application that executes a procedure , saves it to a DataTable and then makes a looping to add the data to an excel worksheet. My question is, if I open and close the connection every insert will increase th...
asked by 10.10.2017 / 15:03
1
answer

ASP.NET MVC with AngularJs and LayoutPage

I'm developing an application using the best of both worlds from Asp.net MVC and AngularJs. I make the bank requisitions with WEBApi which works very well. But now I've added an angular module on the page layout. The page layout ng-app works per...
asked by 13.01.2017 / 18:19
3
answers

How do I hide URL IDs?

17/11/2016 I have an application that is building the following URL www.mysite.com/controller/action/id However, I need the ID not to be displayed in the URL, but to leave it alive in back-end , because it is a requests s...
asked by 17.11.2016 / 17:54
1
answer

How to change repeater line color at run time

How do I change the line color of Repeater running? Repeater lines are loaded through what comes from the database. Example: If there are 3 lines, when displaying on repeater, the first line is one color, the second line is another, an...
asked by 16.11.2016 / 13:24
1
answer

Return Json - AngularJs

I'm creating an Asp.Net Web.API application and the service return is in Json. So far so good, it turns out that the main object (Companies) is returning an internal object - citiesFiliais (Branches by City) with a Bracket that is not interpr...
asked by 25.10.2016 / 19:57
1
answer

Image gallery asp.net and C # with problem to view the photo

I'm having trouble displaying the photo in the browser, the repeater brings all the info from the bank except the photo. I inserted the data manually into the database. // TABLE CREATE TABLE [dbo].[Imoveis]( [CodImovel] [int] IDENTITY(1...
asked by 12.08.2016 / 00:00
1
answer

WebAPI Project - .NET

I'm developing an Asp.Net WebApi application (first REST application). So far everything is ok, even though I'm in the testing phase using PostMan. I think I should finish this first step in two weeks. The project has the Service, Domain,...
asked by 26.07.2016 / 05:47
1
answer

Verifying browser and version with REGEX

I'm working on a vb.net MVC system and need to detect the browser and version. I'll only use Chrome, and IE9 +. I would like to know if I can simplify the verification structure using Regex. Below is the excerpt that I use to do the verifi...
asked by 06.01.2016 / 16:50
1
answer

How to change web.config when running Deploy?

I have an approval and a production environment in the cloud, but I deploy Deploy in File System . I have to insert some parameters and change the connectionString for each of these environments. Parameter examples: Information...
asked by 06.01.2016 / 22:03