As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I've pretty much got OpenID working using the DotNetOpenAuth library. Now I would like users to be able to use Facebook and Twitter to login.
This requires OAuth so I am looking for a tutorial on how to use DotNetOpenAuth OAuth.
I'm having trouble trying to find some simple tutorials on how to do this.
Can anyone please help?
At the time of me answering this question, DotNetOpenAuth has a public Community Tech Preview (CTP) which is available to download.
Download that source code. Should be a .7z file. You can use 7-Zip to unzip the code if you don't already have it (it's free).
Open up the samples source code solution in Visual Studio. I'm using VS2010 but I think there's also a VS2008 solution file.
Now, open up the web.config file for the OAuthClient project.
Next, edit the following settings :-
<!-- Facebook sign-up: http://developers.facebook.com/setup/ -->
<add key="facebookAppID" value="------"/>
<add key="facebookAppSecret" value="------------"/>
You can get these values from your application on Facebook.
Debug/Run the OAuthClient Web Application. This will start an instance of Cassini/Visual Studio Developer Server and a web browser should open:
VoilĂ ! you can now connect to Facebook to log in.
If you get errors, then you need to make sure that:
You've manually changed the Facebook app settings in your web.config file.
You've correctly setup your app settings in the Facebook developer website.
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I let the Crypto Obfuscator run over my program and i got an .exe file with all DLLs and everything in it. Thats really great but i need to create an installer out of it.
It should cost no time and have a graphical UI!
Whats the best (free) way to do this?
Are there any programs?
There are a few solutions:
Inno Setup and NSIS are popular free and open source scripted installer creators.
If you prefer having a graphical interface, the free InstallSimple and Clickteam's Install Creator are common choices.
For more alternatives, Wikipedia has a page entitled "List of installation software" providing a decent overview of what's available.
(Sorry about the lack of hyperlinks - the site's spam prevention system won't allow me to post more.)
Its in Visual Studio :)
http://msdn.microsoft.com/en-us/library/2kt85ked.aspx
You can use Nullsoft Scriptable Install System
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Due to deployment issues (http://stackoverflow.com/questions/11194459/is-windows-afraid-of-its-own-shadow-and-how-can-i-determine-which-ancillary-fil), I'm considering trying a Click Once deployment of my C# app. This is for deploying to a drive/folder on the network to which all users here where I work have access. Are there any caveats or gotchas regarding this?
The clickonce community resource kit on this page includes a pdf with a lot of good information about clickonce deployment. It's become quite difficult to find lately as it's getting long in the tooth, but I think it still has some good stuff.
I maintained a click once application for a couple of years and as far as I know you can't change the install location (it goes into the user's AppData folder). But if the only reason you were wanting to deploy it to a network share was because of access this shouldn't be a problem. Couple of gotchas we ran into:
Don't forget to disable the "require signed security cert" option. Totally forgot about this then couldn't figure out why a year later all our machines stopped updating!
Check the ApplicationDeployment.CurrentDeployment.DataDirectory for items set to "Copy To Output Directory"
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
we got a server at my job (windows server 2003 with sql server 2005)
Now i need to deploy a web service that will be consume in a iPhone application...
I am very new to .net and i really don't know how to set this web service online.
I have created a asp.net web service c# app and i want it to be accessible remotely so i can consume it thought my iPhone app. If you have any tutorial or tricks to do this! Help. Thanks
Here are couple of tutorials:
For SOAP Services
For Rest Service
Both of these use JSON for data and use a third party library like JSONKit, since native iPhone libraries don't have JSON support.
Edit:
As #MishieMoo mentioned iOS 5 built-in api supports JSON. For completeness I have added link to iOS5 tutorial.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I've been asked to write an internal application for our business that uses mapping functionality to place push-pins of business related data.
As this is not a public facing application and to be used by a single person within our firewall I can not use google maps as we do not have the funds for the google license.
I am investigating the use of OpenStreetMap and can either embed a component into an already existing WPF application or embed into an existing WPF application, a NetBeans platform based application or into a new web application.
Could someone please suggest a library for use in either of these environments?
I recently updated JMapViewer from r26523 to r26975 without incident. Subjectively, it seems faster.
I've recently started to build a WPF prototype using SharpMap - although it's currently migrating to V2 and some of the dataproviders are missing - so I've been using V1 which has support for BruTile. You also might find BruTile useful.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
i downloaded latest Twitterizer . added these references.
using Twitterizer.Core;
using Twitterizer.Data;
using Twitterizer.Entities;
using Twitterizer.Streaming;
now what do i need to do ? i searched internet but examples are old and probably not supported by twitter. can anbody explain me step by step ?
i just want to tweet via my account.
Edit: Problem solved by using TweetSharp. i suggest you to use TweetSharp instead of Twitterizer .
You should include using Twitterizer; and not the others.
I have an example application posted on the downloads page: http://www.twitterizer.net/downloads/ It's an ASP.NET application, but the code and usage will be the same for desktop applications.
You can find access to methods by invoking methods on the main classes, such as:
TwitterUser
TwitterStatus (for tweets)
TwitterTimeline
You may also want to check out the code samples posted: http://www.twitterizer.net/category/code-sample/
Have you see the code examples on this page:
http://www.twitterizer.net/
Also see the docs page:
http://www.twitterizer.net/documentation/
The API seems a little confusing to me, never heard of this library.
Why not use Linq to Twitter : http://linqtotwitter.codeplex.com/
Its used by a lot of people.