Questions tagged as 'asp.net'

2
answers

Does ASP.NET need a Windows server?

As usual for PHP I always install Debian and Apache, but I want to delve deeper into web development and want to take a look at ASP.NET, out of curiosity I came to doubt whether I'll need a Windows server if I run in one production environment....
asked by 21.12.2015 / 11:39
2
answers

Pages in ASP.NET still running after page change?

The method Response.Redirect has a parameter in one of your overloads named endResponse that when true indicates that the current page should be terminated after the redirect. Does this mean that when I perform a page...
asked by 20.12.2013 / 21:21
1
answer

Use Cookies or Database?

I need to create a cart where I store more than one Example: ID_PRODUTO , ID_VENDEDOR I would like to use Cookies pro system to be lighter, however I found a big problem, Cookie stores the data in 1 line:    COOKIE VALUE =   ...
asked by 15.03.2014 / 23:52
2
answers

How to get Text from a ListView?

How can I get the Text of my Label that is within a ListView without using the FindControl ( Item.FindControl("lblCodigoEdit") as Label).Text ), ie directly access the value you have in my lblCodigoEdit ?...
asked by 01.12.2015 / 12:11
1
answer

How to get a C # Liststring and send to a JS variable?

I'm developing in an Asp.net C # project and I'm not sure how to get a list of strings from my class on the page. How do I get these values? Code that I've used. var pontos= rota.ObterCordenadas(this._gvConsultaCheck, txtDtInicial...
asked by 29.04.2015 / 15:38
1
answer

Differences over WCF, WebService and WebApi with Asp.net?

I will create a service to make my company's data available to a customer. But I am evaluating the creation of the services and I came across this technical doubt. I know there are differences between the 3, but I do not know exactly how to eval...
asked by 25.02.2016 / 17:07
1
answer

Difference between Absolute Expiration and Sliding Expiration

I am doing a POC with generic cache in C # and I followed a template that shows Absolute Expiration and Sliding Expiration . Could anyone explain these concepts better? //This is for Absolute Expiration string strCache =...
asked by 17.07.2017 / 19:48
2
answers

Writing conventions for controls in ASP.NET

When you drag a control from the Toolbox to a Web Form, Visual Studio automatically adds an ID to this control that consists of its type with the first letter of capital and a number. This is the same pattern used in projects in VB.NET with W...
asked by 15.12.2013 / 02:20
1
answer

Asp.Net MVC authentication using FormsAuthentication

I'm implementing authentication in my ASP.NET MVC application. I am using FormsAuthentication for this authentication of each user and for each logged in user 5 sessions are assigned (Name, CodSetor, FolderPad, Status and CodPerfil). Au...
asked by 03.07.2016 / 15:56
3
answers

Best practice to check if the module is being used

My question that maybe - hopefully not - can be considered as opinion, is conceptual and even simple. In most applications, we work with features that when used by multiple users at the same time, can cause some problem in the database. In my...
asked by 22.05.2015 / 16:24