Hello
I'm working on a simple .NET application which is supposed to run under IIS6 through CGI. First of all everything works great on my Windows 7 development machine under IIS 7.5. But I'm stuck with “System.Security.Permissions.SecurityPermission” under IIS6.
I've already tried to sign the assembly by the way. But I guess the issue i...
I need some advice whether it is recommended to add a membership role to a web application after the web application has been deployed and is in use.
The problem with this is that the role is created through the ASP.NET web site admin tool and automatically updates the ASPNETDB database.
The ASPNETDB database in the live environment ...
I want to extract images from PDF. Tried many solutions but still not getting solution. Help me out....Thanks in advance
...
Hi,
I've just started looking into WCF Services (for the first time) and I need a bit of guidence on how to best design service contacts. Should these contracts be designed towards the entities within an application, e.g. IEmployee, IOrder, or more towards the processes, e.g. IWarehouse, IOrderProcessor?
I'm not sure if this question m...
Hi, I have a background in programming and have done a little .NET but I feel that I would benefit from improving my understanding of the Windows Architecture. Can anyone recomend a good book that discusses the Windows Operating System from a technical perspactive, particulary it's architecture/design and how it works. Im not looking for...
hi. i'm creating a user control with vs2008 (c#), it works well but the events are not listed on the properties window, the "little thunder icon" is not even displayed on the toolbar. WHY???
My event def
[Browsable(true)]
public event ImageClickEventHandler DeleteButtonClick
{
add { IbDelete.Click += value; }
...
I'm currently building a detailed search and I am trying to figure out how to compose my Linq query to my Entity.
basically I have users that can select 1* items in a list control.
the part I can't wrap my head around is the following:
how can I dynamically build a Where AND( field is equal to this OR field is equal to this OR...) cla...
There is a table in a database that i can't change i'm trying to use with Entity Framework.
For sake of argument, there is no unique key possible, not even all the columns,
all the columns are of type nvarchar(x), and i can't change the database to include a rownumber type column.
Is there any way to get this table into Entity Framework...
Hi,
I have a sample application and user control which uses separate copy of structure and enum.
I want to know how to define this enum and structure, in order to use in my sample application as well as in my user control without having multiple definitions . i.e. only one copy of enum and structure should be present.
Please let me kno...
I am trying to use the <%$ AppSettings: .. %> shortcut in an asp.net user control.
I am able to use the syntax fine when binding a property to an appsetting, however I want to use an appsetting to hold a page id. for exmaple:
<a href="default.aspx?page=<%$ AppSettings:TestPageID %>">Test link</a>
This method does not work, so my ques...
I am looking for a way in a umbraco site to detect if the user has a mobile device, then redirect the user to a mobile optimized page. I will also need the user to be able to force the full site if they wish.
Does anyone have any experience with this?
...
Hello all,
I’m using c#.net.
I have been looking round the web and can’t find anything that helps me out.
I have a list of contractors, daily hours, daily slots (three different tables).
First row - contains the contractors
names.
Second row - unlimited - contains the
slots.
For example
I thought I could use a ListView howeve...
I get following error randomly when executing code from debug mode.
Cannot access a disposed object.
Object name: 'SqlDelegatedTransaction'.
Error is being thrown after few commands have been executed instantly, not an timeout issue
I have just one transaction, opened with
using(var scope = new TransactionScope(TransactionOption.Re...
I was wondering if it's possible to write something like this:
<Window
... xmlns definitions ...
DataContext=<!--Create an instance here-->
></Window>
Instead of this:
<Window
... xmlns definitions ...
>
<Window.DataContext>
<local:CustomViewModel />
</Window.DataContext>
</Window>
I don't need workaroun...
I'm creating a multilingual application using Windows Forms. I have created my multilingual content by marking forms as localizable and switching Language to something other then default and changing the form texts.
This works great but there is a small problem with that. On one of the forms I must set up a text to be displayed in a for...
I am running through some tests about using ArrayLists and List.
Speed is very important in my app.
I have tested creating 10000 records in each, finding an item by index and then updating that object for example:
List[i] = newX;
Using the arraylist seems much faster. Is that correct?
UPDATE:
Using the List[i] approach, for my Li...
I have a listbox that is bound to a List<T> -- this is working great.
I'd like to let my users double click a listbox item and open a new window that will display the "detail" view for that record. I'd like this new window to be databound to the same collection as the listbox on the original window. Because, that window has a timer, wh...
Hello there,
I need the 100% .NET library to edit PDF Info like Author, Title, Creator, Subject and Keywords. All PDF libraries I tried are unable to do this without completely resaving the hole PDF documents. So for huge files (>35MB) it takes too much time. I need only to update several text fields (see above) and I don't need to resa...
What exceptions can occur when using PInvoke or are all errors handled by the method return values and it is up to the developer to check and raise exceptions if needed?
...
I've always taught myself and others to think of the bin folder as being transient.
That is you should be able to delete it and next time you rebuild it gets recreated and any references get copied into it without any hassle And not to put your eggs all in one basket. Or in this case don't put all your required dlls directly into the b...