-3
votes
0answers
21 views

C# - How to pass API Url and fetch the comments from LinkedIn? [closed]

I am trying to get comments from LinkedIn that I have API. How to call that API and fetch the data from LinkedIn? Can anyone give an example? Thanks in advance.
0
votes
1answer
28 views

Is this a good way to track current site being reported on?

I'm trying to find an elegant and secure way to track the currently reported site. I originally just used a cookie but realized this was not very secure. I have since switched to combine the session ...
2
votes
3answers
2k views

How to improve performance in this database connection class?

This is my general database connection class. I am using this class to execute my queries through website. What would your suggestions about this to improve performance. Thank you. MSSQL 2008 R2 SP1 ...
1
vote
2answers
42 views

What Data Annotations need to be shared/different between my Model & ViewModel to keep seperation of concerns?

I read this question and answers, about if Display Annotations on model properties violates the separation of concerns between view and model. And my interpretation of their answer was "No, not if ...
2
votes
1answer
44 views

Using ViewState, start-to-end

I'm learning ASP.NET and think I figured out ViewState. Can you tell me if I have it right? The goal of the ViewState in this page is simply to keep the value in a DropDownList. So first, let's have ...
0
votes
1answer
58 views

How to optimize response.redirect in ASP.net [closed]

We know when we call HttpContext.Current.Response.Redirect("http://tvrowdy.in"); It throw an exception. Can we do it this way(working fine). Need suggestions and improvements. public static void ...
0
votes
2answers
72 views

Remove matched Rows from two Datatable (performance optimization)

Here I have two DataTables: dtTotalDateRangeExcludeSundays dtAbsentsLeavesHolidaysWorks Each having 10k+ values. I need to delete matched rows. Below code works fine foreach (DataRow rw in ...
0
votes
1answer
101 views

Asp.Net Custom Server Control: PostBack handling

I wrote a custom server control. The data in it can be manipulated on the client and the changes will be written into the hidden field. The data represents a property of the control and should be ...
1
vote
1answer
382 views

Custom Paging in ASP.Net Web Application

I have following code for doing custom paging from an asp.net web application. Points of interest It uses Link Buttons as suggested in ...
1
vote
1answer
32 views

Making a property virtual to cause EF to load the property?

I am walking through a sample MVC4 ASP.Net tutorial available on PluralSight.com, by Scott Allen. I am in a section #5, Working with Data (part 2), "Listing Reviews". This application has a database ...
0
votes
1answer
70 views

ASP.Net caching helper

I'm willing to simplify the use of the ASP.Net cache. I wrote this helper class : public static class CacheHelper { public static T GetCached<T>(string key, Func<T> initializer, ...
1
vote
1answer
33 views

XmlNodeList to ListItemCollection, a matter of elegance

at this moment I'm reading an XmlNodeList into a ListItemCollection one node at a time using a foreach. foreach (XmlNode node in authCompXml.SelectNodes("//Code")) { CompaniesList.Items.Add(new ...
2
votes
1answer
75 views

Cropping and combining two images on server

I've coded following two methods to combine images that are HTTP POSTed to the server: // Crops two squares out of two separate images // And then combines them into single image that's returned as ...
2
votes
1answer
37 views

Is there a method to add multiple properties to HtmlTextWriterStyle?

I am creating new elements for a webpage at run-time and I have code like this: var dynDiv = new System.Web.UI.HtmlControls.HtmlGenericControl("Div") {ID = "dynDiv"}; ...
-1
votes
1answer
150 views

my first comprehensive solution : C# “DataDriven Web Appication” Ft. my “Html Markup Generator” needs Professionals Help!

this project is very important for me so i decided to post it here .. with hopes it'll enable me to Draw some Experienced developers attention, as it start to get a little too complex for my skills ...

1 2 3 4 5 8
15 30 50 per page