Questions tagged as 'asp.net'

1
answer

What problems can occur when using the "http://tempuri.org/" namespace in our webServices?

When creating a webService, in my case using ASP.NET, I always change the default namespace to someone related to my project, usually using the site URL for this. But lately I've had the need to integrate systems and usually other developers...
asked by 14.11.2014 / 12:22
2
answers

Removal of comments in the HTML sent by the server

We all know the good old HTML comments: <!-- Oi, eu sou o Goku! --> The question is: Is there any way to exclude comments from the HTML that the server sends to the client? I think such a configuration is done at the server level (I...
asked by 05.03.2014 / 20:28
1
answer

Difficulties writing a friendly url (global) in web config

I asked the same question in the English version but I did not succeed! I have an application that will be translated into three languages pt / en / es. So far I'm going to use GlobalResources, I have no problems with this, but I'm having a l...
asked by 18.07.2014 / 16:09
2
answers

CRUD with images, working with HttpPostedFileBase and byte []

We are using the EntityFramework with CodeFirst and DataBase PostgreSQL. There are some tables that should save images, and POCO classes are referenced as byte array. Up to this point everything is quiet. I can get the images with HttpPostedF...
asked by 25.08.2017 / 05:17
1
answer

ASP.NET vNext is interpreted as neither PHP?

ASP.NET vNext is introducing a lot of new things to previous versions, among them is the idea of not compiling the codes, just modify and already see what happens on the page. Does this mean that ASP.NET will be interpreted in the same way that...
asked by 22.08.2014 / 16:09
1
answer

Convert an object of type 'System.Collections.Generic.List in type' System.Data.DataSet '?

   Can not convert an object of type 'System.Collections.Generic.List in type' System.Data.DataSet '? After making a query for a report, I am saving the data in a list and displaying the data on the screen, plus I have an option to export th...
asked by 17.01.2017 / 16:38
1
answer

Does ASP.NET share resources in the same pool?

I have today in my IIS 8 sites in ASP.NET using the same pool. On average they consume 800mb of RAM. I ended up dismembering them (separate pools) and apparently seems to be consuming 1.5GB in total. I wonder if IIS shares resources in the...
asked by 27.04.2016 / 21:05
2
answers

How to use special characters in strings?

What are the ~ and @ characters in the path string in ASP.NET. Example: StreamReader srFile = new StreamReader(@"\server\pasta\arquivo.html");     
asked by 04.02.2014 / 14:01
1
answer

What are and how the following statements work on Web Forms pages:%%,% #%, and%:%

I do not know what they are, nor how to call them. Are tags, statements? What are they? In practice, I noticed some features. <% %> This statement accepts executable code, but does not return anything to the webpage....
asked by 18.02.2015 / 04:07
2
answers

Mount DataTables with Repeater

I'm setting a DataTables jQuery with repeater ASP.NET C# . What am I doing wrong? I have used the code. <body> <form id="form1" runat="server"> <div> <asp:Repeater ID="rptMeusDados"...
asked by 16.07.2014 / 14:38