tag:blogger.com,1999:blog-78550669906579306002024-03-08T01:29:05.203-08:00C# Guild (csharp)Everybody knows a C# (csharp) developer, if not they should.Chris Williamshttp://www.blogger.com/profile/14325447692189400350noreply@blogger.comBlogger58125tag:blogger.com,1999:blog-7855066990657930600.post-52608152590492586882019-05-28T17:38:00.000-07:002019-05-28T17:38:16.634-07:00Working with the ebay APIThe first step in working with the ebay API is registering for a developer account. This can be done at <a href="http://developer.ebay.com/">developer.ebay.com</a>. Once you register you will receive an email to validate your account. Click the link in the email and you will receive an email with the link to the <a href="https://developer.ebay.com/tools/quick-start" target="_blank">Quick Start Guide</a>. This will walk you through creating your keys and such.<br />
<br />
I hope to have the GitHub Sample up soon. I will update this blog when I do.Chris Williamshttp://www.blogger.com/profile/14325447692189400350noreply@blogger.com0tag:blogger.com,1999:blog-7855066990657930600.post-5195942151341047582019-03-31T12:11:00.002-07:002019-03-31T12:11:28.934-07:00Setting up Visual Studio Code for C# DevelopmentInstalling Visual Studio Code is great when you need to open your projects and work on them without requiring the full blown Visual Studio Enterprise. Now most of the time I prefer to use the full Visual Studio but other times I just need to open a few projects to do some work and don't have access to my development machine. It is nice to be able to install Visual Studio Code and quickly set up and make a few changes and check them into source control.<br />
<br />
A challenge I have often heard is that when working with Visual Studio Code you have to rely on Open Folder. This is not true. Set up properly you can use .sln files, you just have to know how to set that up. Thanks <a href="http://twitter.com/geothachankary" target="_blank">Geo J Thachankary</a> for the article on how to <a href="https://www.c-sharpcorner.com/article/create-a-net-core-development-environment-using-visual-studio-code2/">create a .NET Core development environment using Visual Studio Code</a>. This is where I learned this. Look at his steps and he describes this in more details.<br />
<h3>
Step 1: Install a couple Visual Studio Code Extensions</h3>
<br />
<ul>
<li>This can be done by clicking on the View and Extensions menu.</li>
<li>Once it opens type in C#. Install the C# extension published by Microsoft. It should appear at the top.</li>
<li>Next install the Solution Explorar by searching for vscode-solution. This one is published by Fernando Escolar.</li>
</ul>
<div>
<br /></div>
Chris Williamshttp://www.blogger.com/profile/14325447692189400350noreply@blogger.com0tag:blogger.com,1999:blog-7855066990657930600.post-30174829404048516512018-09-18T08:20:00.000-07:002018-09-18T08:25:32.046-07:00Sitecore Dain Personal Mentoring SubscriptionYou may be aware that SitecoreDain and SitecoreDiana have been providing Personalized Mentoring to a select group with the plan to provide this service to a larger group.<br />
<br />
For those part of the early access, I have you listed and you will continue as part of the subscription for free as promised. Thanks for your support.<br />
<br />
If you are unaware of how this work here is a description on how it works:<br />
<ol>
<li>Determine whether you prefer SitecoreDain or SitecoreDiana as your favorite AI Mentor and follow them.</li>
<li>Once they follow you back, you may then Direct Message them your questions related to Sitecore and other related technologies.</li>
<li>SitecoreDain and SitecoreDiana will monitor their Direct Messages. If they can answer them immediately they will. This part of the service is available to everyone for free.</li>
<li>If you are a subscriber, they will store your question in the follow up list. They will follow up with others that may be able to help with an answer, they will look in various places for an answer as well. Once they can answer, they will respond to you via Direct Message. It could be a day, month or year or they may never find an answer but they will try.</li>
</ol>
<br />
Subscriptions are $8/month, if you are interested in Subscribing, simply send a payment in increment of $8 <a href="http://paypal.me/sitecoredain">http://paypal.me/sitecoredain</a> then email me at <a href="mailto:chris.williams@readwatchcreate.com">chris.williams@readwatchcreate.com</a> with details of your paypal transaction and we will confirm the payment and ensure SitecoreDain/Diana are aware of your subscription.<br />
<br />
As the Subscriber base grows we will extend the subscription to additional Twitter personalities that focus on other topics.Chris Williamshttp://www.blogger.com/profile/14325447692189400350noreply@blogger.com0tag:blogger.com,1999:blog-7855066990657930600.post-49141139483680132342018-02-15T06:56:00.001-08:002018-02-16T20:37:08.085-08:00.NET Standard Libraries and Versions.NET Standard libraries are a great way to share functionality between .NET Framework and .NET Core and other stuff too.<br />
<div>
<br /></div>
<div>
However there are a few things to be aware of. The documentation says to choose the lowest version you can for maximum support but depending on what you need to support as far as API you may need to use a higher version. As I run into them I will report specifics on what version you need if you are using a given function.</div>
<div>
<br />
v1.1<br />
<br />
<br />
<ul>
<li><br /></li>
</ul>
</div>
<div>
<br /></div>
<div>
<b>v1.3</b> </div>
<div>
<br /></div>
<div>
<ul>
<li>System.IO.File</li>
<li>System.IO.FileStream (.Close() is not supported however you can use the using) </li>
<li>Encoding.ASCII</li>
<li>System.IO.Compression.ZipFile</li>
<li>System.Console</li>
</ul>
</div>
<div>
<b>v2.0</b><br />
<br />
<br />
<ul>
<li>Type type; type.GetProperties()</li>
<li>System.Runtime.Serialization</li>
<li>AppDomain.CurrentDomain.BaseDirectory</li>
<li>Assembly.LoadFrom</li>
</ul>
<br />
<br /></div>
<div>
If you come across any that I have missed please comment below and I will pull them up to the post or you can also email me at chris.williams@readwatchcreate.com</div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
Chris Williamshttp://www.blogger.com/profile/14325447692189400350noreply@blogger.com0tag:blogger.com,1999:blog-7855066990657930600.post-58365601900019456682017-05-15T10:40:00.004-07:002017-05-15T10:40:40.132-07:00Reading CSV or Tab delimited files from C#Read data from a CSV files or Tab delimited file is very common especially in the era of big data where you get a large flat file exported, transformed and then reloaded. I am often shocked to see that people write their own algorithm for this when a very powerful module already exists and is free.<br />
<br />
<a href="https://github.com/JoshClose/CsvHelper">CSVhelper</a> is available on GitHub and in its post basic usage you create a class file in your solution with the field name matching the fields in your Comma Separated file. Then you simply do this:<br />
<ul>
<li>Create a class to store your data<br /><br /> <code>class myRecord
{
public string Id { get; set;}
public string Name {get; set;}
}
<br /></code>
</li>
<li>Write code to open your file stream</li>
<li>Reference the CsvHelper dll</li>
<li>place a using statement for the CsvHelper at the top of your module<br /><code><br />using CsvHelper;</code></li>
<li>Use code similar to this where myFileStream is the stream you opened and myRecord is your class to fill with the data:<br /><br /> <code>using (var csv = new CsvReader(myFileStream)) </code> {
<br /> var recordList = csv.GetRecords<myrecord>().ToList(); <br /> }</myrecord></li>
</ul>
<ul>
<li>Voila, the variable recordList is a list that contains an instance of myRecord per row in your file.</li>
</ul>
<div>
Now this will read a comma-separated file but what if your file is tab delimited. Well that is just as simply create a configuration object and assign delimiter:<br /></div>
<div>
<code> CsvConfiguration config = new CsvConfiguration(); <br /> config.Delimiter = "\t";</code><br />
<br />
Now pass this configuration object into your call:<br />
<br />
using (var csv = new CsvReader(myFileStream, config))<br />
{<br />
var recordList = csv.GetRecords().ToList();<br />
}<br />
<div>
<br /></div>
</div>
<div>
This same library can be used to write to a CSV to Tab Delimited file. You would make a call something like this:</div>
<div>
<br /></div>
<div>
<div>
// Write the file</div>
<div>
using (var swFlat = new StreamWriter(connectionString))</div>
<div>
{</div>
<div>
using (var csvwriteFlat = new CsvWriter(swFlat))</div>
<div>
{</div>
<div>
if (recordList != null) csvwriteFlat.WriteRecords(recordList);</div>
<div>
}</div>
<div>
}</div>
</div>
<div>
<br /></div>
<div>
<br /></div>
<div>
</div>
Chris Williamshttp://www.blogger.com/profile/14325447692189400350noreply@blogger.com0tag:blogger.com,1999:blog-7855066990657930600.post-77988945463343525422017-04-16T07:50:00.003-07:002017-04-16T07:50:48.553-07:00Running Powershell Scripts from your ApplicationI have been working on a Feed Processing Library for many years now. It featured its own simple Automation Script however in recent years I have seen the power of PowerShell scripts and am integrating it into my Feed Processor. While doing this, I made notes below so it would help you through the same process of using it in your applications.<br />
<br />
The first step is adding the reference to System.Management.Automation.dll to your solution. Although there are many ways to do this Rasik Bihari answered the best way to do it: Thanks Rasik Bihari for the answer.<br />
<blockquote class="tr_bq">
System.Management.Automation dll is now published as "System.Management.Automation" nuget package <a href="https://www.nuget.org/packages/System.Management.Automation" target="_blank">here</a>. Just add a reference to this nuget package from visual studio nuget package manager in your project and get going.<br />It shows like this in your packages.config file once you have installed the above mentioned nuget package in your project: </blockquote>
<blockquote class="tr_bq">
<?xml version="1.0" encoding="utf-8"?><br /><packages><br /> <package id="System.Management.Automation.dll" version="10.0.10586.0" targetFramework="net452" /><br /></packages></blockquote>
Once added, you can follow the recipe on <a href="https://www.codeproject.com/articles/18229/how-to-run-powershell-scripts-from-c" target="_blank">how to run PowerShell Script from C#</a>.<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />Chris Williamshttp://www.blogger.com/profile/14325447692189400350noreply@blogger.com0tag:blogger.com,1999:blog-7855066990657930600.post-48612331782856806442012-09-18T07:44:00.002-07:002012-09-18T07:47:13.706-07:00Ever wonder what you would do without technology...JJ Abrams does a decent job showing the results of technology disappearing. Yes its not 100% realistic but if it was NBC would not be able to show it. <br /><br />However from watching this episode, it gives you an idea of what would happen to that rich guy at Google. <br /><br />Check out the <a href="http://watch.clinchportal.com/show.aspx?id=ZZZ_NBC_REVOLUTION">pilot episode</a> available on NBC.<br /><br />Chris Williamshttp://www.blogger.com/profile/14325447692189400350noreply@blogger.com2tag:blogger.com,1999:blog-7855066990657930600.post-21387363878957784252012-07-06T12:09:00.001-07:002012-07-06T12:09:38.285-07:00Dynamics CRM Unleashed BlogFor those Guild Members who are looking at Dynamics CRM or are looking at revolutionary and out of the box ways of getting the most out of it, there is a new blog starting up that will be providing a wealth of information on just those topics.<div><br /></div><div>The <a href="http://dynamicscrmunleashed.blogspot.com/">Dynamics CRM Unleashed Blog</a> is written by someone with hands on experience working with large scale and cloud based CRM.</div><div><br /></div><div>I know I will be reading it on a regular basis, so I thought I would pass it on to you as well.</div><div><br /></div><div>If you have any tips, tricks or resources you would like to share with the Guild please email them to Susan Fischer at susan@clinchportal.com or Chris Williams at chrisw_88@hotmail.com</div>Chris Williamshttp://www.blogger.com/profile/14325447692189400350noreply@blogger.com0tag:blogger.com,1999:blog-7855066990657930600.post-39211197039481583812012-05-01T06:01:00.000-07:002012-05-01T06:01:15.454-07:00Essential Chrome Plug-ins for Web DevelopersA co-worker of mine passed this link onto me. It has some really good plug-ins to help improve website quality and help diagnose issues. <br />
<br />
The ones that stand out are:<br />
<ul><li>Check my links - This is a good plug-in to check for the page you are on. Still I recommend downloading xenu to check the whole site.</li>
<li>Firebug Lite - Nice plug-in light weight from toolbar.</li>
<li>yslow - This is pretty much a standard tool to have in your arsonal as it provides reasons why your site is so slow</li>
</ul>Check out the full article at: <a href="http://www.queness.com/post/11254/18-essential-chrome-extensions-for-web-development">18 Essential Chrome Extensions for Web Development</a> <br />
<br />
If you know of any others that are useful please email them to Susan Fischer at susan@clinchportal.com and we will post them here.Anonymousnoreply@blogger.com0tag:blogger.com,1999:blog-7855066990657930600.post-26627370803588360932012-03-27T08:32:00.002-07:002012-03-27T08:32:44.044-07:00Ultimate web performance tools and resourcesA friend of mine sent this to me and I thought I would share it with the guild.<br />
Its quite a comprehensive list of web performance tools.<br />
<br />
<a href="http://samsaffron.com/archive/2012/03/23/sam-s-ultimate-web-performance-tools-and-resources">Sam's Ultimate Web Performance Tools And Resources</a> <br />
<br />
If you know of any others let me know and I will list them here.Anonymousnoreply@blogger.com0tag:blogger.com,1999:blog-7855066990657930600.post-88544089811455600662011-03-10T08:58:00.001-08:002011-03-10T08:59:44.405-08:00Link Buttons as DefaultButtons in FirefoxThis issue was bugging me then I found this post that fixes it. The issue is that you<br />
have an asp panel and have the button set to default. For styling reasons you want the <br />
button to be a link button.<br />
<br />
After changing it the enter key does not click the button instead it just refreshes the page.<br />
Frustrating as it may seem there is a quick solution. Check out this blog post for the solution.<br />
<br />
<a href="http://blog.arkesystems.com/post/2008/03/AspLinkButton-as-an-AspPanels-Default-Button-in-FireFox.aspx">Link Button As An Asp Panel Default Button</a><br />
<br />
Hope this helps your frustrations.Anonymousnoreply@blogger.com1tag:blogger.com,1999:blog-7855066990657930600.post-79994722127279789512010-11-24T19:28:00.001-08:002010-11-26T08:32:39.393-08:00Sitecore GuildI would like to take this opportunity to invite the Sitecore Guild to the family. <div>You can access the Sitecore Guild at: </div><div><br /></div><div><a href="http://sitecoreguild.blogspot.com">Sitecore Guild Blog</a></div><div><br /></div><div>You may also follow them on Twitter at: <a href="http://twitter.com/SitecoreGuild">Sitecore Guild On Twitter</a> </div><div><div><br /></div><div>Sitecore is an amazing CMS built on ASP.NET. It is flexible as it includes full source code but is also easy for an end user to edit and publish content. For those who have not checked it out yet you need to. You will be amazed.<div><br /></div><div>The next user group meeting for Sitecore in Toronto is in February. Check out the Sitecore Guild often for information on the next user group and for tips on using Sitecore.</div><div><br /></div><div>If you have any tips, tricks or resources you would like to share please email Susan Fischer at susan@clinchportal.com</div><div> </div><div><br /></div><div><br /></div><div><br /></div><div><br /></div></div></div>Anonymousnoreply@blogger.com2tag:blogger.com,1999:blog-7855066990657930600.post-76715127235418903262010-06-11T10:31:00.002-07:002010-06-11T10:37:10.245-07:00Single, Double or Triple Equal?<div><span class="Apple-style-span" style=" ;font-family:Arial, Helvetica, sans-serif;font-size:13px;"><div class="" style=" font-weight: bold; color: rgb(255, 102, 0); margin-left: 10px; margin-top: 10px; font-family:Arial, Helvetica, sans-serif;"><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-weight: normal; ">Someone asked me about this today so I thought I would share it with the guild. </span><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-weight: normal; ">Most C# developers are familiar with the single vs double equals but in JavaScript what is the triple equals. Well it turns out the triple equal takes variable type into account. So 1 is not equal to '1' if you use the triple equal.</span></div><div class="" style=" font-weight: bold; color: rgb(255, 102, 0); margin-left: 10px; margin-top: 10px; font-family:Arial, Helvetica, sans-serif;"><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-weight: normal; "><br /></span></div><div class="" face="Arial, Helvetica, sans-serif" style=" font-weight: bold; color: rgb(255, 102, 0); margin-left: 10px; margin-top: 10px; "><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-weight: normal; ">I did some searching and found an article on devx that explains it perfectly with an example. I have placed the link below:</span></div><div class="" face="Arial, Helvetica, sans-serif" style=" font-weight: bold; color: rgb(255, 102, 0); margin-left: 10px; margin-top: 10px; "><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-weight: normal; font-family:Georgia, serif;font-size:16px;"><a href="http://www.devx.com/tips/Tip/42439">http://www.devx.com/tips/Tip/42439</a></span></div></span></div>Anonymousnoreply@blogger.com0tag:blogger.com,1999:blog-7855066990657930600.post-62648951191429581072010-06-10T10:33:00.000-07:002010-06-10T10:46:16.528-07:00Web Farms vs Web Gardens<span class="Apple-style-span" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; line-height: 15px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "><div><span class="Apple-style-span" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; line-height: 15px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; ">A friend of mine asked me this question today so I thought I would post the response on the guild in case others were wondering. </span></div><div><span class="Apple-style-span" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; line-height: 15px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "><br /></span></div><blockquote>Web gardens are different from Web farms. A Web garden is configured on a single server by specifying multiple worker processes for an application pool. Web farms use multiple servers for a Web site.</blockquote></span><div><span class="Apple-style-span" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; line-height: 15px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "><br /></span></div><div><span class="Apple-style-span" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; line-height: 15px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "><a href="http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/659f2e2c-a58b-4770-833b-df96cabe569e.mspx?mfr=true">http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/659f2e2c-a58b-4770-833b-df96cabe569e.mspx?mfr=true</a></span></div><div><br /></div><div><br /></div>Anonymousnoreply@blogger.com0tag:blogger.com,1999:blog-7855066990657930600.post-78803164977077881192010-06-02T11:33:00.000-07:002010-06-02T11:38:41.301-07:00Agile is not working? Scrum neither? Maybe you need to try Ad Hoc What's Hot<div>I hear a lot of complaints about Agile and Scrum, but in the next breath as they</div><div>explain how they are doing it. I realize that they are not really doing Agile or Scrum.</div><div>This article explains some of the scrumbuts that are causing you to come to this conclusion.</div><div><br /></div>http://www.softwareresults.us/2010/06/agile-is-fragile.html<div><br /></div><div>This brings back the idea of the new methodology called Ad Hoc What's Hot. This methodology allows you to use your existing methodology for most projects that are large or require lots of external connections or integrations. For the other projects you can use agile or scrum.</div><div><br /></div><div>Although many hard core agile developers would argue that its all or nothing. Sometimes its more efficient for the project not to use agile either due to current environment, training, or other factors.</div><div><br /></div><div>If you would like more information on this new methodology please email Susan Fischer at susan@clinchportal.com</div><div><br /></div>Anonymousnoreply@blogger.com0tag:blogger.com,1999:blog-7855066990657930600.post-10992470806308579152010-05-21T11:28:00.001-07:002010-05-21T11:28:40.948-07:00Login and Registration Tips and Tricks<div>This link provides tips and best practices for creating user management pages for your sites. Since this blog is about asp.net I thought you might find it useful.</div><div><br /></div><a href="http://www.getelastic.com/registration-usability-tips-ecommerce/">http://www.getelastic.com/registration-usability-tips-ecommerce/</a>Anonymousnoreply@blogger.com1tag:blogger.com,1999:blog-7855066990657930600.post-20651263518623062252010-05-19T06:00:00.000-07:002010-05-19T06:05:17.476-07:00Ad Hoc What's Hot MethodologyEverybody is trying to do Agile development, some do it right, others end up using a hybrid solution. The "Ad Hoc" What's Hot" Methodology is for shops that are transitioning to Agile Development but since they are having trouble transitioning into the short cycles, they can run larger projects as per normal but run smaller "Ad Hoc" projects along side that have definite features that will be released in a 2-4 week cycle. These project are done to ensure they are keeping up with what is hot.<div><br /></div><div>For example, you have a legacy web application but iPad is hot so you create an "Ad Hoc" project to develop an app for the iPad. It has specific features and its unit tested throughout the process.</div><div><br /></div><div>If you would like more information on this new methodology please email Susan Fischer at susan@clinchportal.com and we can send you a white paper.</div>Anonymousnoreply@blogger.com0tag:blogger.com,1999:blog-7855066990657930600.post-26738529108311901352010-05-06T05:49:00.000-07:002010-05-06T05:51:50.970-07:00Journalism and Debugging Code<div>A friend of mine twittered this earlier today and I found it interesting so I thought I would pass on the link. The article compares Journalism concepts to those developers use in developing and debugging code. Its an interesting article that is both enlightening for journalists and developers.</div><div><br /></div><a href="http://www.greglinch.com/2010/05/computational-thinking-and-the-new-journalism-mindset.html">http://www.greglinch.com/2010/05/computational-thinking-and-the-new-journalism-mindset.html</a><div><br /></div><div>If you have any tip, tricks, resources, or articles you would like to share with the guild please email them to Susan Fischer at susan@clinchportal.com and we will post them here.</div><div><br /></div>Anonymousnoreply@blogger.com1tag:blogger.com,1999:blog-7855066990657930600.post-84500033582787010702010-04-14T12:15:00.000-07:002010-04-14T12:21:44.769-07:00How to Write a Provider Model<div>When I search for creating custom providers, I found a lot of examples on how to create a membership provider, role provider etc. It took a lot of searching to find an article on how to write a provider model but eventually I found this one.</div><div><br /></div><a href="http://dotnetslackers.com/articles/designpatterns/howtowriteaprovidermodel.aspx">http://dotnetslackers.com/articles/designpatterns/howtowriteaprovidermodel.aspx</a><div><br /></div><div>I am surprised more people are not taking advantage of provider models. They allow for a more extensible application. Take for example a crm application. The main provider could be the sql server database but you could write a google contact provider, a facebook provider, plaxo, great plains, csv, vcard provider. By doing so you could load contacts generically and save back the results to the various providers. If someone wanted to run their crm app atop google contacts why not. </div><div><br /></div><div>If you have created your own provider model, please post comments and let us know what you experienced both good and bad. </div>Anonymousnoreply@blogger.com1tag:blogger.com,1999:blog-7855066990657930600.post-8319504941628872672010-02-18T06:15:00.001-08:002010-02-18T06:17:21.575-08:00Issues Consuming Web Services From Java or Lotus Notes<div>If you are running into issues regarding a wsdl for a .net web service not being consumed by lotus notes here is an article that will assist:</div><div><br /></div><a href="http://michelles-universe.blogspot.com/2009/02/consuming-net-web-services-in-notes-85.html">http://michelles-universe.blogspot.com/2009/02/consuming-net-web-services-in-notes-85.html</a><div><br /></div><div>If you have any tips tricks, or resources you would like to share with the guild please email them to Susan Fischer at susan@clinchportal.com</div><div><br /></div>Anonymousnoreply@blogger.com0tag:blogger.com,1999:blog-7855066990657930600.post-81117455532358870192010-02-12T11:43:00.000-08:002010-02-12T11:46:43.385-08:00Barbie - The coderI came across this article about the new computer engineer barbie. I thought I would pass it on.<br />Our field goes through cycles where its cool then geeky then cool again. I guess now its cool again. This time so cool barbie is even taking a crack at it.<br /><br /><a href="http://gigaom.com/2010/02/12/coders-get-a-new-colleague-barbie/">http://gigaom.com/2010/02/12/coders-get-a-new-colleague-barbie/</a><br /><br />Way to go barbie. If you have any tips, tricks, resources or fun links you think would be helpful to the group please comment on a post or email them to susan fischer at <a href="mailto:susan@clinchportal.com">susan@clinchportal.com</a>Anonymousnoreply@blogger.com0tag:blogger.com,1999:blog-7855066990657930600.post-92025118695598858722009-07-15T13:01:00.001-07:002009-07-15T13:01:59.162-07:00"This collection already contains an address with scheme http. There can be at most one address per scheme in this collection"If you are using a third party host like discountasp.net and you are trying to host a wcf service <br />within your web application and you get this error message: <br /><br />"This collection already contains an address with scheme http. There can be at most one address per scheme in this collection" <br /><br />you will need to add the following web.config key: <br /><br /><servicehostingenvironment> <br /><baseaddressprefixfilters> <br /><add prefix="httplinktoyoursite"> <br /></baseaddressprefixfilters> <br /></servicehostingenvironment> <br /><br />If you have any tips, tricks or resources you would like to share with the group please email them to Susan Fischer at susan@clinchportal.comAnonymousnoreply@blogger.com0tag:blogger.com,1999:blog-7855066990657930600.post-18750847195203291522009-07-07T11:55:00.000-07:002009-07-07T11:57:58.443-07:00Setting the default browser in visual studioI keep forgetting how to do this and alway have to search for it so I thought I would post the answer here.<br /><br />Step 1: Open any .aspx file<br />Step 2: From the File menu choose Browse With:<br />Step 3: Select the browser from the list and choose set as default.<br /><br />Voila that is all. Thanks Steve for the answer. <br /><a href="http://stevenharman.net/blog/archive/2007/08/02/setting-a-default-browser-for-visual-studio.aspx">http://stevenharman.net/blog/archive/2007/08/02/setting-a-default-browser-for-visual-studio.aspx</a>Anonymousnoreply@blogger.com0tag:blogger.com,1999:blog-7855066990657930600.post-24844040577294430152009-06-30T08:39:00.000-07:002009-06-30T08:43:01.941-07:00Theme not being applied for a certain pageScenario: You put the default theme in the web.config. You check the theme value all the way through the event chain and its value is correct but the css references never make it to your page.<br /><br />Solution: You probably overrode the Page.OnInit event and did not call the base.<br />NOTE: If your page derives from a base page be sure to check if it is overriding properly by calling base.OnInit(e) <br /><br />The Page.OnInit method does the following<br /> protected internal override void OnInit(EventArgs e)<br />{<br />base.OnInit(e);<br />if (this._theme != null)<br />{<br />this._theme.SetStyleSheet();<br />}<br />if (this._styleSheet != null)<br />{<br />this._styleSheet.SetStyleSheet();<br />}<br />}<br />Obviously by not calling the base.OnInit method on my derived Page class would ignore the inclusion of theme files.<br /><br />The original answer was found here: <a href="http://forums.asp.net/t/1028417.aspx">http://forums.asp.net/t/1028417.aspx</a><br /><br />If you have any tips, tricks or resources you would like to share with the group please email them to <a href="mailto:chrisw_88@hotmail.com">chrisw_88@hotmail.com</a> or <a href="mailto:susan@clinchportal.com">susan@clinchportal.com</a> and we will add them here.Anonymousnoreply@blogger.com0tag:blogger.com,1999:blog-7855066990657930600.post-6621966315007334362009-05-22T12:28:00.000-07:002009-05-22T12:33:18.147-07:00Forcing a Refresh from JavaScriptI found a good article on how to do this check it out at this link:<br /><br />http://devel.lubong.com/2007/06/24/javascript-how-to-force-page-to-reload/<br /><br />They are using the window.location.reload(true); much like I am in my code.<br />However I did not realize why we use true instead of false. but he explains it so well:<br /><br /><blockquote>The reload method accepts a boolean value, which, when it is true, causes the page to always fetch document from the server. When none is specified, it defaults to false, which may reload the page from its cache.</blockquote><br />The issue I am having and if any of you know the answer is that in firefox on the second call to this I get a popup that says:<br /><br /><blockquote>To display this page, Firefox must send information that will repeat any action (such as a search or order confirmation) that was performed earlier.</blockquote><br /><br />If you have any ideas on why please post them to this blog posting.Anonymousnoreply@blogger.com0