Files and Settings Transfer Wizard

by Dan Matthews 26. July 2007 08:27
So I've just had the domain of my dev PC changed, and at first glance I thought that everything on my profile had come across nicely via MS's lovely transfer wizard (not roaming). My desktop was there, my backdrop was there... lovely. But then I noticed the little irritating things that hadn't come across, such as: Start Menu Quick Launch Lanugage Bar settings Email signatures Thankfully most of them can be re-done pretty quickly (for example, just copy your Signatures folder from the Microsoft\Signatures folder in your Documents and Settings profile to your new profil... [More]

Tags:

Cryptography without key management!?

by Dominic Zukiewicz 25. July 2007 09:10
In order to encrypt data, you need a key and the data itself. The problem comes when you need to securely store the key! Rather than go through a process of showing you how to retrieve secret keys from .exe files (which is no secret in itself!), I'm going to show you a quick way of using a key which you don't have to know in advance, you just use! .NET introduced the System.Security.Cryptography in 1.0, but the 2.0 edition added the DPAPI extension. Rather than waffling on, lets just jump into an example. The class we're focusing on is the ProtectedData class: using System; ... [More]

Tags:

Misc

EPiServer logon error

by Dan Matthews 18. July 2007 08:33
When using EPiServer, especially when using it on a local dev PC, you may get an error such as: "The trust relationship between the primary domain and the trusted domain failed" EPiServer have a post about the error here, but they are only talking about a full server install environment. If you're using it locally, then it's more likely that you're just using a domain account to log on, when in fact you should be using one of the internal EPiServer user accounts. I confused myself by creating a 'soft' account called 'admin' and then wondering why I was getting the error... I was logging in a... [More]

Tags:

.NET/C# | EPiServer

Use Cases

by Dan Matthews 17. July 2007 15:35
So the purpose of a Use Case is for an 'Actor' to successfully complete a 'Goal'. Fair enough. But... what if you have a Use Case like the following: Name: Hacker Compromises The Site Primary Actor: Hacker Success Criteria: Hacker obtains unauthorised access to the site Failure Criteria: Hacker cannot obtain access to the site Is this a valid Use Case for your system and, if so, then is a Success actually a system Failure? Is this just a logical paradox or a real problem? Would you just word it as follows instead? Name: Prevent Site Hacking Primary Actor: Hacker Success Criteria: Hacke... [More]

Tags:

SharePoint Training Camp UK

by Dan Matthews 17. July 2007 10:14
So it was decided that it was worth getting myself and one of the guys on my team actually certified on SharePoint - probably a good idea! Looks like it's not going to be a rubber-stamping of what we already know though - the course is one of these condensed 5-day blitzes where you eat, sleep and work the course. Yikes. It's not the stuff I normally do anyway, as it's the professional rather than developer perspective and I tend to get my mitts stuck in the API more than the other things. I think I'm going to learn lots and very fast. It's a bit daunting but it should be good though. Good fo... [More]

Tags:

SharePoint (MOSS)

Web Deployment Project isn't working with multi-lingual resources.

by Dominic Zukiewicz 13. July 2007 14:54
Yesterday and today, the project I was working on required catering for Mandarin and English. On my machine, the one I build the project on, the multi-lingual features worked fine, but after using the WDP (Web Deployment Projects) found that the site was always defaulting to English, even if the browser was configured as Chinese. I worte a test page, which too confirmed the website was picking up the correct culture, but for some reason ASP .NET wasn't changing it. After hours of torment, I found that 2 steps have to take place. One which I forgot to code (oops!) and one which sorted ... [More]

Tags:

Properties Vs Public Variables

by Dominic Zukiewicz 11. July 2007 15:34
Today I was testing out the XmlSerializer to see how it dealt with variables instead of properties. I tried to read an XML file directly into code, and which was the most convenient: XML <myclass>      <Number1></Number1>      <Text1>Hello!</Text1>      <Decimal1>1.35262646464</Decimal1> </myclass> And now, lets see the 2 examples of source code Version 1: public class MyClass {       public int Number1;       public string Text1;       public decimal Decimal1; } Version 2: public class My... [More]

Tags:

Forcing a project to use method and class commenting (using XML).

by Dominic Zukiewicz 11. July 2007 09:53
The XML comments in C# are very useful in commenting code for use with the Intellisense. The generated XML file can be used to assist other developers with the parameters, explanations of methods and use of classes. Also, with automated tools like NDoc and SandCastle, you are able to generate documentation for your source code. If you do not comment it in the right places, you can get some ugly red messages saying "<COMMENT MISSING>". The best way to ensure that all of your public methods, properties and classes are commented is to make Visual Studio generate the XML documentation fo... [More]

Tags:

Xml

.NET version error when installing EPiServer

by Dan Matthews 9. July 2007 16:13
You may see an error when installing EPiServer using EPiManager 1.3.2: "This setup requires the .NET Framework version 2.0.50727..." Which is fine... except that if you ONLY have .NET 2.0 installed and not .NET 1.1, then you still get the error! It seems as if EPiServer has patched their EPiManager, but it still seems problemmatic. Easiest thing to do is probably just install the .NET 1.1 runtime. Remember to ensure the default is .NET 2.0 afterwards in IIS.

Tags:

EPiServer | .NET/C#

ADXSTUDIO Web Permissions

by Dan Matthews 3. July 2007 10:23
I've found a little glitch (by design?) in ADXSTUDIO 2006. The scenario is this... I want to give an 'Approvers' group access to approve across the whole site except for a 'Sensitive' folder, that can only be approved my managers. According to ADXSTUDIO, the way to do this is to explicitly GIVE permissions to the Approvers group everywhere except where I don't want them to have permissions. Yeah right. It's a big site :) You might think 'no probs, I'll just DENY them access to that one folder'. Nice, in theory... but in practive it spams out a nasty error when you try to do that. I guess it ... [More]

Tags:

.NET/C# | ADXSTUDIO

Powered by BlogEngine.NET 1.5.0.7
Theme by Interakting

Interakting

A full service digital agency offering online strategy, design and usability, systems integration and online marketing services that deliver real business benefits and ensure your online objectives are met.

Calendar

<<  March 2010  >>
MoTuWeThFrSaSu
22232425262728
1234567
891011121314
15161718192021
22232425262728
2930311234

View posts in large calendar