Is it possible for us to integrate the junit test cases for an application for which we are developing using the ASP.Net Platform?
Since I am from Java j2ee Tech background, have a very less knowledge on .Net Technology
...
Is there built in methods into .net framework to do the following:
Get role GUID from user name/user GUID
Get role name from role GUID
So far I have been sending queries to the asp_roles and asp_users tables to obtain that information and I'm wondering if there is a nicer way of doing this?
I have the following methods that I store...
I have payment gateway integration in my application developed using .Net Compact framework 3.5.
Is there any "Credit card validation and parsing utilities" that i can use in my application or is there any class that i can use to identify the type of the card?
...
Error is something like that :
Can't load Items.aspx from 192.168.0.172
And a text is Can't open this web-site. It can't be found. Try later
code :
HttpContext.Current.Response.Clear();
HttpContext.Current.Response.Cache.SetCacheability(HttpCacheability.NoCache);
HttpContext.Current.Response.Charset = System.Text.Encoding...
Since yesterday, I receive a security exception when I want to run a unit-test from within VS.NET 2008.
The error goes like this:
SecurityException: that assembly does not allow partially trusted callers
...
The assembly that failed was : file:///S:/MyProject/MyAssembly.dll
The S: drive is a mapped drive which points to a physical lo...
Hi,
What of this code is faster/more efficient? :
Boolean contains = myString.IndexOf("~", StringComparision.InvariantCultureIgnoreCase)!=-1;
or
Boolean contains = myString.IndexOf('~')!=-1;
I think the second because is a single character, but using the invariant culture ignore case comparer is supposed to be fast too :P
Cheers....
I have a class "Artikel" and there i write some Business Logic. I also have a class "tArtikel" which is a type. In my class "Artikel" I work with "tArtikel" and returns are of that type. Now when i instantiate an "Artikel" i want it to be of type "tArtikel", so what i tried in my code is:
public tArtikel Artikel()
{
...
Hi, I'm using Digg Api to get stories from digg. But I couldn't find any method to post stories on Digg using that API. Is there any other way to post stories on Digg?
...
Why html agility pack is used to parse the information from the html file ? Is not there inbuilt or native library in the .net to parse the information from the html file ? If there then what is the problem with inbuilt support ? What the benefits of using html agility pack versus inbuilt support for parsing information from the html f...
Hi!
I have Office 2007 VSTO add-in, it uses ribbon XML, and so on. When the Office is first started after the reboot, it takes significantly longer time, than when it is started for the second time. The add-in is registered as vstolocal and trusted using VSTO inclusion list during installation. As I understand, this avoids installing it...
Hi All,
I need to localize an application and have noticed that several countries don't appear in the list of county codes associated to cultureInfo.
One example is Cyprus, I assume there might be others.
If i need to localize settings for Cyprus (or other missing ones) how would I rename my resource files that they would render the c...
Can anyone with an example help me to create an Asp.Net MVC model as a WCF Service where i can write my entity class, which can be used in my controller to create view
...
For a project I need to automate creation of business cards. Now, they have a InDesign file for each business card template. They insert the info of alle the people in the indesign file and then generate a pdf of it.
Now, entering the information of customers in a web application is no problem, but how will I generate a pdf and how will...
Is there a .Net api to run queries on Windows Search Server Express 2008?
...
I need to mark certain dates in a WPF Calendar control, by making the date bold or changing the background color or something like that.
It would also work if I could customize how blackout dates are rendered (i.e. not crossed out as default, but with another background color etc.)
Is this possible to achieve either of those options?
...
Hi there,
Just built myself a mvvmlight app and if i press f5 TO COMPILE and run all works ok, it displays the wpf window
but if i do a BUILD i get an error
Error 1 The target "RunCodeAnalysis" does not exist in the project.
I am using the visual studio 2010 professional version RTM
The only thing i see strange is the target ...
I have a repeater with a literal, a dropdown list, and a button.
<asp:Repeater ID="Repeater1" runat="server" OnItemDataBound="rep_ItemDataBound" onitemcommand="Repeater1_ItemCommand">
<ItemTemplate>
<div class="buypanel">
<ul>
<li>Choose finish <asp:DropDownList ID="ddlFinish" runat="server"></asp...
Hi All
I want to develop and automate Office software like 'Microsoft Excel 2007' And 'Microsoft Word 2007'. But I do not know how to use VBA or use C#/.Net Framework to do so.
What are the benefits of using VBA vs .Net framework?
Which one should I focus on learning?
...
Consider the following code, which is calling against an EF generated data context:
var context = new DataContext();
var employees = context.Employees.Include("Department");
If I change the name of the Department relationship then this code is going to start throwing a runtime error. So is there any way to call the .Include() method...
In a vb.net application I have a set of integers currently stored in multiple Arraylist (But this could be something different if required)
al1 = {1, 2, 3, 6, 7, 9}
al2 = {2, 3, 4, 9}
al3 = {2, 3, 19}
I would like to get the set {2, 3}
I thought about using LINQ to join the list, but the number of Arraylist can change. Im open to any ...