i want to create one facebook application with asp.net
i required login to facebook and required permission for sending email, publish stream and offline access to facebook profile.
I have my ASP.NET web.config set with impersonation
<identity impersonate="true" userName="domainName\userName" password="userPassword" />
I'm running some a method like
IO.Directory.GetFiles(somePath)
And monitoring the file system access with Process Monitor
I keep getting all the access requests from the aspnet_wp.exe process to the folder, as the ASPNET user.
Why am I not seeing the access as the impersonated user?
I need to know how to implement payment gateway in asp.net for my belling based project.
Is there one payment is gateway enough to access all the bank account.
thanks
Regards..
A.Ayyappan
As per the question title, How could I take a hex code and convert it to a .Net Color object, and do it the other way?
I googled and keep getting the same way which doesn't work.
ColorTranslator.ToHtml(renderedChart.ForeColor)
Which returns the name of the color as in 'White' instead of '#ffffff'! Doing it the other way seems to have odd results, only working some of the time...
I am use to VB.NET. The game source code I am learning from is written in C#. I find it annoying that I have to add using System.Diagnostics to the source code in order to type Debug.WriteLine.... I checked under project properties, but I cannot find the References tab that allows me to add namespaces to Imported Namespaces. Where do I find this in C#?
Also, why can't I do this in C#? Imports x = System.Math
I working in a activex control using .net for load it in a ie website. I need read a jpeg 2000 file but i don't want use a 3rd party dll because this will cause dependencies or embedding it make my dll very big. Anyone have idea where i can find a class .cs for embedded on my project, i need only read file, no write only read.
Is there any way to implement Erlang-style light-weight processes in .NET?
I found some projects that implement Erlang messaging model (actors model). For example, Axum. But I found nothing about light-weight processes implementation. I mean multiple processes that run in a context of a single OS-thread or OS-process.
What are some of the better messageboard components that are available for an ASP.NET site. I currently have a site in C#/Ajax (FW 3.5) that I would like to add a messageboard to (also have a SQL Server db). Can someone recommend a component that can be easily added?
Similar to Ubiquitous way to get the root directory an application is running in via C#, but that question seems to be related to Win Forms. How would the same be done for Web Forms?
I was using...
HttpContext.Current.Server.MapPath("~")
This works great for handling HTTP requests but seems not to work if a scheduler like Quartz.NET invokes a job (the problem I am having). The HttpContext.Current is null in that scenario since an actual HTTP request is not made.
When building an ASP.NET MVC application with High Availability is it best practice to keep the session state on the SQL Server, if there is no state server available?
Hello,
I am retrieving an image from the SQL database into Byte() variable in vb.net
Dim img as byte()=dr(0)
How do I create a file in my C:\images\ directory from the above img.
I want to read the img and then create a file with name bimage.gif
Please help
Say I have this url:
http://site.example/dir/
In this folder I have these files: test.ascx.cs and test.ascx
Just to be clear, I am not a .NET developer.
From a security point of view - why can't I access http://site.example/dir/test.ascx.cs and how secure is it to keep those files there?
I assume IIS filters out request that query these kind of files, but can someone explain me this?
Thank you.
i have a media player in my vb.net form... and i have video1 currently playing and video2 in my listbox in form. now i want to load video2 in media player before video1 ends so that the video2 should be played right after video1 ends for smooth playback without any pause. how can i do that...
I need to use functionality that ObservableCollection provides, in my asp.net app. My only concern is that this class is a part of WindowsBase assembly and I'm not sure if it's a good idea to include a windows assembly in a web project.
Any ideas/comments?
Thanks!
i have a media player in my vb.net form... and i have video1 currently playing and video2 in my listbox in form. now i want to load video2 in media player before video1 ends so that the video2 should be played right after video1 ends for smooth playback without any pause. how can i do that...
Can I write code against .Net 4 and its libraries using VS2008? If so how should I configure it?
I realise that VS2008 will probably struggle with language changes such as the dynamic keyword but can I install the version 4 and target it anyway? My only real interest is in being able to use some of the new libraries, in particular I'm interested in the TPL (http://en.wikipedia.org/wiki/Parallel_Extensions)
I'm an ASP.NET c# developer using VS2010 as my development platform. I am interested in accessing Sketchup models using a web form interface.
Has anyone done this? I am looking for a simple "Hellow World" web application that uses the Ruby Extension model.
Hi all
I am using windows authentication within an ASP.NET application. I am wondering how to best get the objectGuid from the currently logged in user?
Regards, Egil.
Hi everybody.
I have an asp .net page like this:
http://farm4.static.flickr.com/3631/3690714302_c17b259863.jpg
My Table is Gridview and some Label, anybody can tell me how to create a button to convert my page to image or pdf file and save it to desktop.
Help me please T__T.
I am looking to create a VB.NET application. when the application is opened it will disable the keyboard and mouse so if you hit any keys it does nothing and you can not move the mouse. (even if currently selected window is not that of application).
MUST WORK ON WINDOWS 7!
Thanks in advance.
I am using VS 2010 Express.This error appear "Error HRESULT E_FAIL has been returned from a call to a COM compenent" When i try to Add ADO.NET Entity Data Model. VS 2008 PRO is installed on my pc too but i don't think that it is caused by VS 2008 .I tried to reinstall VS 2010 Express but still same. How can i fix it ?
We are doing a small dashboard to retrieve and display the DHCP servers list in a LAN and then getting the Scope information like IPs used and unused and the count using .NET preferably C#. How could that be made possible.
First post here.
I have a asp/vb6 web app that logs in a user I want to encrypt the users identity field and pass(querystring) it to a asp.net app and then decrypt it to do a db lookup.
I've google'd it of course and found rot13, not secure enough. I've also found some hits on MD5 / RC4 but did not find any good examples of encrypt / decrypt.
Thanks,
Michael
Hi,
I hope somebody can help me out on this question.
I'm using a SQL database and I'm writing a VB.NET client application. This application is used on multiple computers at the same time. If one of the clients makes an update to the database I would like to have the other clients to be aware of the update.
Has ony one already done this before?
Thank you very much!
Marcel