system.web Questions
7
Solved
I'm developing a web page that needs to take an HTTP Post Request and read it into a byte array for further processing. I'm kind of stuck on how to do this, and I'm stumped on what is the best way ...
Encourage asked 30/3, 2012 at 18:23
2
How can I do this in C# modern UI ?
var url = "http://ajax.googleapis.com/ajax/services/feed/load?q=http%3A%2F%2Fwww.digg.com%2Frss%2Findex.xml&v=1.0";
var wc = new WebClient();
var rawFeedDat...
Cuss asked 15/7, 2013 at 5:50
5
Solved
I Developed a WinForm application in with the target framework set to .net 4.0, now I wish to add to a project that has it's target framework set to .net 4.5. After I added the 4.0 WinForm applicat...
Mckinnon asked 12/1, 2015 at 8:56
3
Solved
I'm trying to move my old mvc5 project to asp net core.
Old code was:
public string ContentType
{
get
{
if (!string.IsNullOrEmpty(FileName))
return MimeMapping.GetMimeMapping(FileName);
return...
Goble asked 7/12, 2015 at 10:26
1
I've managed to get Katana/OWIN running on Mono using the HttpListener host.
I'm now experimenting with Microsoft.Owin.Host.SystemWeb on Mono and XSP4. I'm using the code found in the this repo. I...
Schlep asked 28/7, 2013 at 23:32
4
Solved
Is there a Portable Class Library (PCL) version Of HttpUtility.ParseQueryString contained in System.Web or some code I could use? I want to read a very complex URL.
Gloria asked 28/11, 2013 at 14:24
2
Solved
I'm trying to make use of the OpenID Connect authentication middleware provided by the Katana project.
There's a bug in the implementation which causes a deadlock under these conditions:
Running...
Periwinkle asked 6/7, 2015 at 10:24
1
Solved
I download a project on Gitgub Basically is a Console Application.
But I want to translate this C# Console Application to a Universal Windows App.
I want to use HttpUtility.UrlEncode in a windows...
Albite asked 19/2, 2016 at 8:0
2
I'm trying to remove a dependence on System.Web.dll from a Web API project, but have stumbled on a call to HttpServerUtility.UrlTokenEncode(byte[] input) (and its corresponding decode method) that ...
Gavingavini asked 16/2, 2016 at 10:32
2
We currently have a NancyFx project that we have wired up using OWIN. We are not using System.Web and we need some place to put our context that lives for the life of a request other than HttpConte...
Bosporus asked 22/5, 2014 at 18:9
6
Solved
I'm building an archetype of web project for my company, the idea is to have like a template to start building a new project with everything necessary already done, security, IoC, Logging, etc...
...
Kimbell asked 11/9, 2012 at 13:18
1
Solved
I want to be able to build URL query strings by just adding the key and value to some helper class and have it return this as a URL query. I know this can be done, like so:
var queryBuilder=...
Logomachy asked 12/12, 2014 at 11:45
3
I am running an ASP.Net MVC application and facing the following error. As I am new to ASP.Net, could someone please help me as to what does it mean and how can I resolve it?
I tried googling to u...
Irreclaimable asked 31/5, 2012 at 17:46
3
Solved
I am working on a project where I have a C# class library which needs to use the System.web.HttpContext. I've done this before in another project without problem but now its not working. I'm not su...
Sayles asked 4/1, 2013 at 1:20
6
Solved
I have a string that I'd like to encode into the standard URL format. From what I've found, I should be able to do this via the httpUtility.urlEncode method, but I don't seem to have that available...
Erse asked 11/2, 2011 at 8:41
1
Solved
In the HttpCookieCollection.Get MSDN documentation, it is stated that:
If the named cookie does not exist, this method creates a new cookie
with that name.
This is true and works well when ca...
Unfortunate asked 6/5, 2013 at 14:50
2
Solved
I need HttpUtility for encoding strings, but it seems it was supported, but no longer.
Actually, the whole System.Web is gone.
Is there an alternative? I need to Javascript Escape some strings.
Manichaeism asked 6/5, 2011 at 9:9
1
Solved
I want to use HttpUtility.UrlEncode in a windows form application,
but i can not find System.Web in .NET (Add Reference) area!
How can i add this assembly to my project?
i am using .net 4...
than...
Transcript asked 2/12, 2012 at 10:45
1
Solved
System.Web.PreApplicationStartMethodAttribute defined as:
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple=true)]
public sealed class PreApplicationStartMethodAttribute : Attribute
{}
I...
Shuster asked 3/8, 2012 at 18:1
1
Solved
I've been following performance of my website and out of all slow-executing code (>1s), more than 90% is because of System.Web.HttpRequest.GetEntireRawContent() (called by System.Web.HttpRequest.Fi...
Remainder asked 22/11, 2011 at 5:20
4
Solved
I updated .NET from 3.5 to 4.0 version, but after updating the assembly System.Web doesn't work any more.
I'm getting the following error:
Warning 1 Could not resolve assembly "System.Web". Th...
Enciso asked 8/10, 2011 at 2:21
4
Solved
I'm currently developing an application for .NET 4 Client Profile, as this is the version that will be present on most home computers through Windows Update.
However, I cannot add a reference to S...
Lightyear asked 12/2, 2011 at 23:6
2
Solved
I'm trying to create a Windows Service in VS2010 but can't seem to add System.Web as reference. When I browse for it and add it manually I get an exclamation mark over the reference. I've tried add...
Olli asked 20/7, 2010 at 10:59
5
Solved
I'm trying to use the HTTP functions contained in the System.Web.dll assembly. However, whilst the dll seems to exist in the same directory as every other dll Visual Studio 2010 references in my pr...
Darnelldarner asked 18/9, 2010 at 12:32
2
Solved
I'm working on a project in C#.Net 4.0. I am trying to use HttpUtility.HtmlDecode. To do so, I added
using System.Web;
to the top of the file. However, no reference to HttpUtility could be found...
Necrotomy asked 6/3, 2011 at 5:16
1 Next >
© 2022 - 2024 — McMap. All rights reserved.