asp.net-4.0 Questions

5

Solved

I need to locate a fast, lightweight expression parser. Ideally I want to pass it a list of name/value pairs (e.g. variables) and a string containing the expression to evaluate. All I need back fr...
Comeuppance asked 8/12, 2010 at 20:33

8

Solved

I've seen a lot of questions about this already, but I'm stumped! Please help! I have a customvalidator. It's firing but it's not preventing postback. Please help me in doing so! I can see that co...
Gumbo asked 17/11, 2011 at 16:4

3

Solved

I'm trying to write a T4 template to iterate over a project folder (specified) and generate a js file based on those properties. I'm able to return my first class file as a ProjectItem (returns a...
Hustler asked 15/3, 2012 at 10:46

4

Solved

I like to Update keys/Values defined in AppSettings section of Web.config at runtime. however I DO NOT want to actually save them to Web.config file. I have a huge web application that have consis...
Alvin asked 27/3, 2013 at 7:22

3

Solved

I am using SQL Server 2008 R2 and Entity Framework 5.0. When the database is generated, I cannot add my property of type TimeStamp without having the following error: There is no store type corresp...

3

What is the fastest way to convert anonymous type to DataTable? Update: I want to get and populate DataTable from anonymous type. If reflection is neccesary, how can I to do it using reflection? ...
Evzone asked 2/9, 2011 at 9:2

5

Solved

I have a generic handler Document.ashx that creates Word documents on the fly by reading information from the querystring like this Document.ashx?clientid=123&documentid=10 and it works perfect...
Provisory asked 28/1, 2012 at 18:20

5

Solved

I have this code: Stream f = File.Open("data.majid", FileMode.OpenOrCreate, FileAccess.ReadWrite); Where will be file created?
Decani asked 14/4, 2013 at 15:35

4

Solved

I have my image from Request.Files[0]. Now, how do I upload this image to S3? I see that in the AWS .NET API you have to specify ContentBody when putting an object which is a string. How would I ge...
Solidary asked 23/9, 2010 at 18:55

3

Solved

I want to access HttpContext.Current in my asp.net application within Task.Factory.Start(() =>{ //HttpContext.Current is null here }); How can I fix this error?
Anna asked 19/5, 2012 at 5:3

2

Solved

In IIS7 I've got the ability to set caching options. These options are added to my web.config as such... <caching maxCacheSize="262144"> <profiles> <add extension=".png" policy="...
Markowitz asked 30/1, 2011 at 4:54

5

Solved

I'm using a Telerik RadChart control on my ASP.NET web application. This works fine when running on localhost, but now the application has been deployed to IIS7 and the following error appears: ...
Retard asked 23/2, 2012 at 11:22

1

Solved

We have a web app that has a client implemented with WCF. This client uses SSL_LVL3 to make the handshake with an external service. It turns out that the service just disabled the SSL_LVL3, so we n...
Virago asked 21/9, 2015 at 10:52

2

We are using custom error provided by asp.net config setting. In entire application (PL/BLL/DAL) we are not using any try catch. So for any exception in any layer application redirect user to custo...
Bolte asked 11/7, 2012 at 3:15

3

Solved

I am facing the following problem scenario: build an MSI the normal way ex: MyTest.msi rename it, leaving the msi extension. ex: MyTest_V1.0.0.msi Test it, it works. install success. Again repeat...
Convergent asked 9/7, 2013 at 7:56

3

Solved

I have moved my asp.net 3.5 app to asp.net 4.0 and moved from windows 2003 (iis6) to windows 2008 r2 (iis7.5) and now i have this sys is undefined error. i have the app running in an integrated ap...
Flower asked 29/9, 2010 at 14:43

2

Solved

I have implemented System.DirectoryServices.AccountManagement for authentication into my webapps finding users (UserPrincipal) byidentity given username. However, I have several cases where I need ...
Roark asked 28/5, 2014 at 15:49

6

Solved

The Label control in ASP.NET seems to render <span> tags, but is there a server control to render HTML within a <div>? Sure, I could set display: block and it might look the same, but ...
Jandy asked 15/4, 2011 at 9:57

3

I have set the the cookie expiration time to 1 month but when I look the expiration timeout of .ASPXAUTH cookie in browser it says 30 minutes ahead from now. var ticket = new FormsAuthenticationTi...
Bonnell asked 27/3, 2012 at 12:18

7

I installed .net framework 4 on my windows 2003 enterprise x64, wrote simple asp.net 4.0 application (default.aspx page only). The application works great if request is to default.aspx, not to the ...
Dogtrot asked 14/4, 2010 at 6:33

4

Getting this error: The value for the 'compilerVersion' attribute in the provider options must be 'v4.0' or later if you are compiling for version 4.0 or later of the .NET Framework. To com...
Hallam asked 4/4, 2011 at 23:30

1

Background I'm working on an ASP.NET 4 web site (not web application). I'm trying to use IRegisteredObject to allow some long-running code to run in a non-request thread. For testing, I've set th...
Encompass asked 17/11, 2014 at 3:16

5

Solved

I would like to know some of the different methods that have been used to test a SignalR hubs-based application.
Staves asked 17/5, 2012 at 1:49

7

Solved

From a quick search on Stack Overflow I saw people suggesting the following way of checking if a cookie exists: HttpContext.Current.Response.Cookies["cookie_name"] != null or (inside a Page clas...
Rempe asked 24/10, 2012 at 22:8

2

How can I check whether with ASP.NET 4 is registered to run in IIS 7.5? There must be some way to determine this for sure, other than running aspnet_regiis -i from within the framework's folder...
Braunite asked 22/3, 2012 at 18:37

© 2022 - 2024 — McMap. All rights reserved.