WebMatrix :: Can Find The Code Of The Twitter Or Facebook Or WebGrid Helpers?
Aug 26, 2010
Just in general, where can I find the code to take a look at and learn from them? Or at least look at the functions available to me as I do get the feeling that the insufficient documentation at the moment reveals all.
right now I playing around with WebMatrix and I followed the tutorial from http://www.asp.net/WebMatrix. Chapter 6 (displaying data in a grid) described how to use a WebGrid helper very clear, but the data in the example is always retrieved from an SQL DB.I want to use the same XML file from chapter 7 (Displaying data in a chart).Using the code:
... var DataSet = new DataSet(); dataSet.ReadXmlSchema(Server.MapPath("/App_Data/QCFiler.xsd"));
I've been practicing with WebMatrix and I've come across this problem. I'd like to use the format property of the WebGrid Column in vbhtml but I can't get it to work. I always get some kind of compilation error. Mostly the compiler says that an expression is needed. There must be a crucial difference between the way it's done in cshtml and the way it's done in vbhtml.
My webGrid is working perfectly fine. However, I would like the default sort order to be in the opposite direction. If it were SQL, I'd be adding a DESC somewhere. Here's my working line of code:
[Code]....
It correctly sorts on the UWDate column, but I would like it to sort the opposite sort order. Of course, once it is displayed, you can click on the title and it will resort at that time.
Is there a way to translate things which are sitting in Microsoft.Web.Helpers.dll? For example: to upload file tghe FileUploadHelper gets called and user is presented with two edit boxes plus 'Browse...' and 'Upload' buttons and 'Add more files' label - all this I'd like to translate as it looks really weird if I mix the languages on website.
is it possible to be able to change the WebSecurity login page ? in the _start.cshtml for exemple ? because sometimes you need to put the login page in another folder or change the name of that page ( if i speak french , i aint gona call my page login). I know i can to a Response.Redirect but it forces me to create fake login pages for nothing.
I have created a facebook application using FaceBook ToolKit for .Net, What I am trying to do is create a WebApp for FaceBook which allows users to tweet.
I have also read about twitterizer library, that allows ASP.Net to create Apps for Twitter but it comes with OAuth authentication where a user is redirected to Twitter.com.
What I am trying to do is once user has given permission the app will accept username and password for their twitter account and then using Twitterizer library it will post their tweets.
I'm having a articles directory web site and looking to integrate Login in with twitter and Facebook feature, web site has been developed in ASp.net, can someone provide me some guidance on how to implement it.
I have a website that shares some content and shows the number of times it has been shared. The sharing is done through facebook, twitter and e-mail.
Now, while sharing the content with facebook and twitter, the share count gets increased by some random number, sometimes 2 and sometimes upto 25-30. The reason I could find is that the bots and crawlers of facebook and twitter keeps on hitting the content being shared which increases my share count.
Is there a way to stop these bots and crawlers from hitting my website?
I tried to search around, but could not find anything for this question which must be wrong, because I would guess there were a lot of topics about it.
Anyway, I would like to load lists on my site in a similar style to Facebook and Twitter, where initially x records are loaded into the list, and then after the page has loaded the list expands downwards with more rows of content, or add a "more" button in the end. I am using ASP.NET with C#.
With Twitter's new OAuth interface, their API is now many times more complex than what it was. And I haven't even looked at Facebook's API yet.
What I'm wondering if there is a method that employs some higher-level, existing code or interfaces to make this a simpler task.
All I want to be able to do is initiate a Twitter tweet or Facebook share on the user's behalf and be able to control the initial text of those messages, from an ASP.NET application.
I found some similar questions on SO, but they had no answers. EDIT: I know there are things like AddThis and ShareThis, but I need something that will give me control over the default message. It must contain a link with a code that is specific to the current user.
I want to implement authorization using social networks like twitter, facebook, Linked In. How can I authorized with all social networks into my asp.net C# web application.
If you could give me some guidelines It would mean a lot to me. what type of authentication I use, how to do id from localhost, how to modify web.config file etc