I have been building applications / web apps for some time, and I guess most of what I have built has been based upon simple principles, i.e. try to keep things loosely coupled, use industry standard techniques and so on.
I try to follow as many tech blogs I can about architectures, and how sites can scale (Facebook and the like).
Righ...
I'm looking to embed Solr as a library in a .Net app. I understand that there is an embedded Java client which queries a Solr core directly, and I could potentially run this on IKVM, however, I'm looking for something which has been translated. I also have looked at Solrnet, but it appears to be only a client to an http-hosted Solr insta...
Does SoapHttpClientProtocol.BeginInvoke hold onto a worker thread while waiting for i/o?
...
Hi I am working on developing single sign on module. I need to use saml but I have looked around internet and haven't been able to find good examples or good book names for it. I am a .net developer and haven't worked on security side a lot so this whole thing is a bit confusing to me.
Please advise any good books or links on the topic...
I have the following struct:
public struct Declarations
{
public const string SchemaVersion = "urn:ean.ucc:gdsn:2";
}
And the SchemaVersion is used by some XmlElements which are trying to be serialized like this:
[XmlElement(Type=typeof(SomeGarbage),ElementName="moreJunk",IsNullable=false,Form=XmlSchemaForm.Unqualified,Namespace=Dec...
Can anyone suggest a free (or very very cheap) alternative to Nevron Diagrams? I was playing with Open Diagram which is open source but it's very poorly documented and their forum is dead.
...
Hey guys,
Needing a bit help getting multiple values from a string using Regex. I am fine getting single values from the string but not multiple.
I have this string:
[message:USERPIN]Message to send to the user
I need to extract both the USERPIN and the message. I know how to get the pin:
Match sendMessage = Regex.Match(message, ...
I have data as follow
DECLARE @tmp TABLE(cid int, colspan int, rowspan int, corder int)
INSERT INTO @tmp
SELECT 1,2,null,1
UNION
SELECT 2,null,null,2
UNION
SELECT 3,null,null,3
UNION
SELECT 4,3,null,4
UNION
SELECT 5,null,null,5
UNION
SELECT 6,null,null,6
UNION
SELECT 7,null,null,7
I want to query to return
cid colspan rowspan cor...
I don't have a XP box avaialble, but my application needs to support it. What woudl happen if I tried to use JumpList.SetJumpList on a Vista or XP machine?
...
Hey guys, I'm doing an ASP.NET MVC project just for learning...and stuck in this...
I'm trying the get the value from the Html.TextBoxFor(model => model.ShortName) and show in the side www.blablabla.com/Value, it in the time of the user is typing.
I tried to add the AJAX library reference on the top:
<script src="../../Scripts/Microso...
I have a datalist with products we use on our product page. I'm generating javascript for each item in the collection using:
foreach (ProductItem item in _prod.ActiveProductItemCollection)
{
sb.Append("<script type='text/javascript'>");
sb.Append("mboxCreate(\"product_productpage_rec\",");
}
and so on...
What I want to do is...
Why isn't it possible to assign events along with properties in object initializers in C#? It seems to be so natural to do so.
var myObject = new MyClass()
{
Property = value,
Event1 = actor,
// or
Event2 += actor
};
Or is there some trick that I don't know of?
...
Hi All,
I want to know how do I exactly call a function from ProjectA::ClassA::FuncA() that is a Win32 .lib with /clr from a ProjectB::ClassB::FuncB() that does not have clr support and is a pure Win32 project.
Both these projects are under same solution.
First, this is what I have tried:
1. Created the ProjectA with the .lib
2. Added t...
I notice that when I include a reference to an external CSS file in my HTML file in Visual Studio 2010, I get a very nice list of possible values for the 'media' attribute.
(The options are all, aural, braille, handheld, print, projection, screen, tty, & tv ... if you're interested)
Is there a system level enum with all of the possib...
What is exact difference in writing USING directives before or after namespace declaration.
Example :
using System;
using System.Linq;
using NUnit.Framework;
namespace HostTest
{
/** code goes here **/
}
and
namespace HostService
{
using System.Runtime.Serialization;
using System;
/** code goes here **/
}
...
I have a .Net application that fires up a process, passing a long argument list through Process.StartInfo.Arguments. The new process can only handle 8-bit characters in the arguments passed to its main() function. Therefore, I've encoded the string in Process.StartInfo.Arguments so that each character is an 8-bit value.
The problem is...
favorite Hello Everyone,
I want retrieve daily latest NAV based on AMFI RSS Feeds tell me how I can retrieve it.
Thanks..
...
Hi!
Is it possible to "hard" restart Windows, without waiting for closing applications, etc.?
...
I need to establish a TCP connection with a remote machine, but before I do that, I need to detect, if the port is in use by another application (if there is already one connection on this port). In other words I want to ensure that only one application is using the same port a time.
What is the way to do it in .NET?
...
I have this large IDL that I am importing into a C# project.
Everything was fine until I had to use one interface that is not quite compatible with HRESULT -> COMException conversion (I can go into details here but that shouldn't be relevant).
Is it possible to add PreserveSig to that one type somehow? I would like to avoid the option...