<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Bryan Avery</title><link>https://bryanavery.co.uk/</link><description>Recent content on Bryan Avery</description><generator>Hugo -- gohugo.io</generator><language>en-GB</language><copyright>© 2026 Bryan Avery.</copyright><lastBuildDate>Mon, 12 Jan 2026 12:09:36 +0000</lastBuildDate><atom:link href="https://bryanavery.co.uk/index.xml" rel="self" type="application/rss+xml"/><item><title>Who Really Controls Your Data? The Truth About Sovereign Cloud</title><link>https://bryanavery.co.uk/who-really-controls-your-data-the-truth-about-sovereign-cloud/</link><pubDate>Mon, 12 Jan 2026 12:09:36 +0000</pubDate><guid>https://bryanavery.co.uk/who-really-controls-your-data-the-truth-about-sovereign-cloud/</guid><description>&lt;p&gt;Cloud computing is now so normal that most organisations barely think twice about where their data lives. It sits in “the cloud”, it works, it’s secure, and everyone moves on. Yet behind the scenes, a quieter but increasingly important conversation is taking place in boardrooms, regulator meetings and procurement discussions. That conversation is about sovereignty.&lt;/p&gt;</description></item><item><title>The Tower of Babel Rebuilt: Are We Creating a God in the Machine?</title><link>https://bryanavery.co.uk/the-tower-of-babel-rebuilt-are-we-creating-a-god-in-the-machine/</link><pubDate>Tue, 16 Dec 2025 13:03:32 +0000</pubDate><guid>https://bryanavery.co.uk/the-tower-of-babel-rebuilt-are-we-creating-a-god-in-the-machine/</guid><description>&lt;h2&gt;The Ancient Warning&lt;/h2&gt;&#10;&lt;blockquote class="is-layout-flow"&gt;&#10;&lt;p&gt;“Come, let us build ourselves a city, with a tower that reaches to the heavens… so that we may make a name for ourselves.”&lt;br/&gt;— &lt;em&gt;Genesis 11:4&lt;/em&gt;&lt;/p&gt;&#10;&lt;/blockquote&gt;&#10;&lt;p&gt;In the biblical story of the Tower of Babel, humanity’s unified ambition to reach the heavens is interrupted by divine intervention. Language is confounded, and the people are scattered—ambition halted by humility.&lt;/p&gt;</description></item><item><title>AI as Arbiter of Truth and Justice: Can Algorithms Supplant Human Conscience?</title><link>https://bryanavery.co.uk/ai-as-arbiter-of-truth-and-justice-can-algorithms-supplant-human-conscience/</link><pubDate>Tue, 16 Dec 2025 12:06:41 +0000</pubDate><guid>https://bryanavery.co.uk/ai-as-arbiter-of-truth-and-justice-can-algorithms-supplant-human-conscience/</guid><description>&lt;p&gt;As artificial intelligence permeates everyday life, society faces a provocative question: are we ceding our definitions of truth and justice to machines? From AI-powered news feeds that shape what we see as “true” to algorithms advising judges on sentences, the influence of AI on moral and legal decisions is growing. Tech giants tout AI systems – from generative chatbots like ChatGPT to decision tools in courts and HR departments – as unbiased and efficient. Yet observers worry that by increasingly relying on AI to decide &lt;strong&gt;what is true and what is fair&lt;/strong&gt;, we risk outsourcing our own moral judgement. Could an AI, even one designed to sound human, ever replace the human conscience that guides ethical decisions? This article explores the consequences of this shift, drawing on expert insights and current examples to challenge readers to critically consider how far we should entrust truth and justice to algorithms.&lt;/p&gt;</description></item><item><title>Web Application Security: What Every Business Needs to Get Right</title><link>https://bryanavery.co.uk/web-application-security-what-every-business-needs-to-get-right/</link><pubDate>Mon, 15 Dec 2025 09:40:15 +0000</pubDate><guid>https://bryanavery.co.uk/web-application-security-what-every-business-needs-to-get-right/</guid><description>&lt;p&gt;If your business runs a website, customer portal, booking system, online shop, or internal web-based tool, then web application security is not optional. Web applications are one of the most common entry points for cyber attacks because they are public-facing, interactive, and often connected to sensitive data.&lt;/p&gt;</description></item><item><title>Agentic AI: Why Human-Centred Design Matters More Than Ever</title><link>https://bryanavery.co.uk/agentic-ai-why-human-centred-design-matters-more-than-ever/</link><pubDate>Thu, 11 Dec 2025 15:28:09 +0000</pubDate><guid>https://bryanavery.co.uk/agentic-ai-why-human-centred-design-matters-more-than-ever/</guid><description>&lt;p&gt;Artificial intelligence is evolving quickly, but one of the most important shifts happening right now is the move towards &lt;strong&gt;agentic AI&lt;/strong&gt;—systems capable of planning, reasoning and acting with a degree of autonomy. They can simulate outcomes, test strategies, and help humans make more informed decisions.&lt;/p&gt;</description></item><item><title>AI-Augmented DevSecOps: Securing the Software Supply Chain at Scale</title><link>https://bryanavery.co.uk/ai-augmented-devsecops-securing-the-software-supply-chain-at-scale/</link><pubDate>Mon, 08 Dec 2025 10:22:39 +0000</pubDate><guid>https://bryanavery.co.uk/ai-augmented-devsecops-securing-the-software-supply-chain-at-scale/</guid><description>&lt;h3&gt;&lt;strong&gt;Introduction&lt;/strong&gt;&lt;/h3&gt;&#10;&lt;p&gt;Software development has evolved rapidly, and with it, the need for robust security practices has never been greater. Across industries, organizations are embracing &lt;strong&gt;DevSecOps&lt;/strong&gt;—a methodology that integrates security into every stage of the development lifecycle. This shift is essential because open-source adoption has skyrocketed, growing from just 36% of codebases in 2015 to 75% in 2020. While this trend accelerates innovation, it also introduces significant risks. High-profile breaches, such as the SolarWinds attack, have demonstrated how vulnerable the software supply chain can be when security is not prioritized.&lt;/p&gt;</description></item><item><title>Citadel Governance Hub: The Enterprise Blueprint for Scaling AI Safely, Responsibly and Efficiently</title><link>https://bryanavery.co.uk/citadel-governance-hub-the-enterprise-blueprint-for-scaling-ai-safely-responsibly-and-efficiently/</link><pubDate>Fri, 05 Dec 2025 08:25:15 +0000</pubDate><guid>https://bryanavery.co.uk/citadel-governance-hub-the-enterprise-blueprint-for-scaling-ai-safely-responsibly-and-efficiently/</guid><description>&lt;p&gt;Businesses of every size are now moving far beyond early AI experimentation. What began with simple copilots and isolated proof-of-concepts has quickly evolved into a landscape where organisations expect to operate dozens—and soon thousands—of AI agents across their departments. These agents will collaborate with one another, call internal and external systems, interpret complex contexts and support increasingly critical business processes. As this shift accelerates, one question becomes unavoidable: &lt;em&gt;how do we allow AI to scale without losing control, breaching compliance, duplicating effort or suffocating innovation?&lt;/em&gt;&lt;/p&gt;</description></item><item><title>Unlocking the Power of Microsoft’s Researcher Agent: A Deep Dive into Intelligent Workflows</title><link>https://bryanavery.co.uk/unlocking-the-power-of-microsofts-researcher-agent-a-deep-dive-into-intelligent-workflows/</link><pubDate>Fri, 27 Jun 2025 08:10:41 +0000</pubDate><guid>https://bryanavery.co.uk/unlocking-the-power-of-microsofts-researcher-agent-a-deep-dive-into-intelligent-workflows/</guid><description>&lt;p&gt;Artificial Intelligence has rapidly evolved beyond simple productivity tools and into highly capable research assistants. One of the most promising innovations in Microsoft’s Copilot ecosystem is the &lt;em&gt;Researcher Agent&lt;/em&gt;—a specialised AI agent designed to perform complex research tasks across a range of data sources and systems.&lt;/p&gt;</description></item><item><title>Rethinking Technical Architecture: AI-Driven Developer Experience as the Catalyst for Scalable Innovation</title><link>https://bryanavery.co.uk/rethinking-technical-architecture-ai-driven-developer-experience-as-the-catalyst-for-scalable-innovation/</link><pubDate>Thu, 19 Jun 2025 08:32:29 +0000</pubDate><guid>https://bryanavery.co.uk/rethinking-technical-architecture-ai-driven-developer-experience-as-the-catalyst-for-scalable-innovation/</guid><description>&lt;p&gt;As organisations embrace AI to modernise operations, the architectural lens must now extend beyond infrastructure and applications to include how software teams interact with their tools. Enhancing the &lt;strong&gt;developer experience (DevEx)&lt;/strong&gt; is becoming a vital strategic pillar, not only for productivity, but also for architectural consistency, security, and scalability.&lt;/p&gt;</description></item><item><title>Meet Dot: Your Expert AI Assistant for C# and .NET Development</title><link>https://bryanavery.co.uk/meet-dot-your-expert-ai-assistant-for-c-and-net-development/</link><pubDate>Tue, 20 May 2025 06:25:57 +0000</pubDate><guid>https://bryanavery.co.uk/meet-dot-your-expert-ai-assistant-for-c-and-net-development/</guid><description>&lt;p&gt;The modern software landscape is evolving fast, and .NET developers need tools that keep up. Whether you’re spinning up a new microservice, building clean RESTful APIs, or wrangling Entity Framework migrations, wouldn’t it be ideal to have an assistant who &lt;em&gt;knows&lt;/em&gt; .NET inside out?&lt;/p&gt;</description></item><item><title>Building Cursor-Based Pagination with Redis and .NET for External API Integrations</title><link>https://bryanavery.co.uk/building-cursor-based-pagination-with-redis-and-net-for-external-api-integrations/</link><pubDate>Sun, 18 May 2025 10:55:00 +0000</pubDate><guid>https://bryanavery.co.uk/building-cursor-based-pagination-with-redis-and-net-for-external-api-integrations/</guid><description>&lt;p&gt;When building modern APIs that integrate with external systems, a common challenge is enabling &lt;strong&gt;efficient, scalable pagination&lt;/strong&gt; — especially when the external system doesn’t support pagination natively. This post walks through a practical, production-ready solution using &lt;strong&gt;cursor-based pagination and Redis caching&lt;/strong&gt; in a .NET Web API environment.&lt;/p&gt;</description></item><item><title>Advanced Fault Tolerance in .NET 8 Using Microsoft’s Resilience Framework</title><link>https://bryanavery.co.uk/advanced-fault-tolerance-in-net-8-using-microsofts-resilience-framework/</link><pubDate>Tue, 06 May 2025 10:39:42 +0000</pubDate><guid>https://bryanavery.co.uk/advanced-fault-tolerance-in-net-8-using-microsofts-resilience-framework/</guid><description>&lt;p&gt;In my original &lt;a href="https://github.com/BryanAvery/PollyHttpClientFactory"&gt;Polly article&lt;/a&gt;, I introduced Polly as a robust resilience framework for handling transient faults and service failures. At the time, Polly was entirely community-driven and required manual configuration within each application. Fast forward five years, and Microsoft has officially embraced the concepts introduced by Polly, incorporating them directly into the .NET framework with a suite of first-party resilience libraries.&lt;/p&gt;</description></item><item><title>Designing Resilient APIs: Patterns to Manage Large Data Queries</title><link>https://bryanavery.co.uk/designing-resilient-apis-preventing-large-data-downloads-with-best-practice-patterns/</link><pubDate>Wed, 16 Apr 2025 15:22:10 +0000</pubDate><guid>https://bryanavery.co.uk/designing-resilient-apis-preventing-large-data-downloads-with-best-practice-patterns/</guid><description>&lt;p&gt;In the world of modern software systems, APIs are the gateways through which applications access and interact with data. But when these APIs expose large datasets—like financial transactions, audit trails, or customer activity—they can easily become bottlenecks or even points of failure if not designed with care.&lt;/p&gt;</description></item><item><title>Taming the Machines: Why AI Governance Matters More Than Ever</title><link>https://bryanavery.co.uk/taming-the-machines-why-ai-governance-matters-more-than-ever/</link><pubDate>Fri, 28 Mar 2025 07:15:15 +0000</pubDate><guid>https://bryanavery.co.uk/taming-the-machines-why-ai-governance-matters-more-than-ever/</guid><description>&lt;p&gt;Artificial Intelligence (AI) is no longer the stuff of science fiction. From automating emails to analysing business trends, AI agents are already helping organisations save time, reduce costs, and make better decisions. But with great power comes great responsibility—and that’s where &lt;strong&gt;governance&lt;/strong&gt; comes into play.&lt;/p&gt;</description></item><item><title>The Art of Using AI Responsibly</title><link>https://bryanavery.co.uk/the-art-of-using-ai-responsibly/</link><pubDate>Tue, 25 Mar 2025 07:23:54 +0000</pubDate><guid>https://bryanavery.co.uk/the-art-of-using-ai-responsibly/</guid><description>&lt;p&gt;There’s no denying it: artificial intelligence has become an integral part of the way we work. Once the subject of science fiction, it now quietly supports us, helping with everything from writing reports and drafting emails to summarising meetings and finding answers at lightning speed. Yet, as with every great tool in history, the magic of AI lies not just in what it can do, but in how we choose to use it.&lt;/p&gt;</description></item><item><title>DeepSeek: Big News, But Overhyped?</title><link>https://bryanavery.co.uk/deepseek-big-news-but-overhyped/</link><pubDate>Fri, 31 Jan 2025 14:37:26 +0000</pubDate><guid>https://bryanavery.co.uk/deepseek-big-news-but-overhyped/</guid><description>&lt;h2&gt;Introduction&lt;/h2&gt;&#10;&lt;p&gt;DeepSeek has been making waves in the AI community, with its recent R1 model release being described as a potential ‘Sputnik moment’ by influential venture capitalist Marc Andreessen. But how much of the hype is justified, and is DeepSeek truly a game-changer in the AI landscape?&lt;/p&gt;</description></item><item><title>Redefining the Developer Experience with AI and DevOps</title><link>https://bryanavery.co.uk/redefining-the-developer-experience-with-ai-and-devops/</link><pubDate>Wed, 05 Jun 2024 11:09:15 +0000</pubDate><guid>https://bryanavery.co.uk/redefining-the-developer-experience-with-ai-and-devops/</guid><description>&lt;p&gt;In today’s fast-paced tech landscape, the fusion of AI and DevOps is revolutionising the developer experience. As businesses strive to innovate continuously, software development teams have become indispensable. Yet, this pivotal role has also led to increased workloads and the necessity for new skills, especially with the convergence of coding, security, and IT management. We delves into how AI-enabled tools and DevOps can enhance developer satisfaction, productivity, and creativity, reducing burnout and fostering a more engaging work environment.&lt;/p&gt;</description></item><item><title>Enhancing Azure Security Through Structured Automation and Controlled Provisioning</title><link>https://bryanavery.co.uk/enhancing-azure-security-through-structured-automation-and-controlled-provisioning/</link><pubDate>Tue, 07 May 2024 15:13:34 +0000</pubDate><guid>https://bryanavery.co.uk/enhancing-azure-security-through-structured-automation-and-controlled-provisioning/</guid><description>&lt;p&gt;In the constantly evolving landscape of cloud computing, security remains a paramount concern, especially for platforms as extensively utilised as Microsoft Azure. This blog delves into the importance of implementing robust security measures, illustrated through a case study on structured automation and controlled provisioning in a secure-by-design environment.&lt;/p&gt;</description></item><item><title>Exploring Responsible Generative AI: The Path to Ethical Innovation</title><link>https://bryanavery.co.uk/exploring-responsible-generative-ai-the-path-to-ethical-innovation/</link><pubDate>Mon, 25 Mar 2024 11:44:22 +0000</pubDate><guid>https://bryanavery.co.uk/exploring-responsible-generative-ai-the-path-to-ethical-innovation/</guid><description>&lt;p&gt;Generative Artificial Intelligence (AI) represents one of the most significant technological advancements, offering capabilities that blur the lines between content generated by machines and humans. As we navigate this new frontier, it’s paramount that we guide this innovation responsibly. Emphasising the principles of responsibility and privacy, this guide provides a comprehensive roadmap for developing AI solutions that are not only advanced but also ethical and responsible.&lt;/p&gt;</description></item><item><title>Phi-2: Microsoft’s Marvel in the World of Small Language Models</title><link>https://bryanavery.co.uk/phi-2-microsofts-marvel-in-the-world-of-small-language-models/</link><pubDate>Mon, 18 Mar 2024 12:34:58 +0000</pubDate><guid>https://bryanavery.co.uk/phi-2-microsofts-marvel-in-the-world-of-small-language-models/</guid><description>&lt;p&gt;In the ever-evolving landscape of artificial intelligence, Microsoft has once again made headlines with the launch of Phi-2, a groundbreaking small language model (SLM) that is challenging the status quo of what smaller models can achieve. With 2.7 billion parameters, Phi-2 stands out not just for its size but for its remarkable capability to perform at par with, and even outperform, models many times its size. This development represents a significant leap forward in AI, showcasing the potential for compact models to drive innovation and efficiency across various sectors.&lt;/p&gt;</description></item><item><title>Mastering Microsoft Security, Compliance, and Identity Fundamentals</title><link>https://bryanavery.co.uk/mastering-microsoft-security-compliance-and-identity-fundamentals/</link><pubDate>Mon, 04 Dec 2023 10:13:25 +0000</pubDate><guid>https://bryanavery.co.uk/mastering-microsoft-security-compliance-and-identity-fundamentals/</guid><description>&lt;p&gt;In the rapidly evolving world of cloud computing, understanding the essentials of security, compliance, and identity management is crucial. This article delves into the core aspects of the Microsoft Security Compliance and Identity Fundamentals, providing insights into a range of critical topics from Zero Trust models to encryption, ensuring your data remains secure and compliant in the cloud.&lt;/p&gt;</description></item><item><title>Exploring the Frontier of Artificial General Intelligence: The Next Leap in AI Evolution</title><link>https://bryanavery.co.uk/exploring-the-frontier-of-artificial-general-intelligence-the-next-leap-in-ai-evolution/</link><pubDate>Mon, 27 Nov 2023 10:13:56 +0000</pubDate><guid>https://bryanavery.co.uk/exploring-the-frontier-of-artificial-general-intelligence-the-next-leap-in-ai-evolution/</guid><description>&lt;p&gt;The realm of artificial intelligence (AI) has been a bedrock of transformative technologies, shaping the contours of our digital world. However, a new horizon beckons — Artificial General Intelligence (AGI), an epochal leap from specialized AI systems to machines that can think, learn, and adapt like humans. This blog delves into the technical intricacies and fascinating potential of AGI, poised to redefine the boundaries of what machines can achieve.&lt;/p&gt;</description></item><item><title>Responsible AI Principles in Business: A Comprehensive Guide</title><link>https://bryanavery.co.uk/responsible-ai-principles-in-business-a-comprehensive-guide/</link><pubDate>Thu, 23 Nov 2023 08:38:18 +0000</pubDate><guid>https://bryanavery.co.uk/responsible-ai-principles-in-business-a-comprehensive-guide/</guid><description>&lt;p&gt;In the modern business landscape, the integration of AI technologies demands a commitment to ethical, human-centered practices. The adoption of Responsible AI (RAI) Principles is crucial for ensuring these technologies are used in a way that benefits society, respects individual rights, and promotes sustainability. Below is an expanded look at each of these principles and their importance in the business context.&lt;/p&gt;</description></item><item><title>Leveraging the Azure Well-Architected Framework: A Personal Journey as an Application Architect</title><link>https://bryanavery.co.uk/leveraging-the-azure-well-architected-framework-a-personal-journey-as-an-application-architect/</link><pubDate>Wed, 22 Nov 2023 10:41:15 +0000</pubDate><guid>https://bryanavery.co.uk/leveraging-the-azure-well-architected-framework-a-personal-journey-as-an-application-architect/</guid><description>&lt;p&gt;As an application architect, navigating the complexities of cloud architecture is a fundamental part of my role. My engagement with &lt;a data-id="https://learn.microsoft.com/en-us/collections/x31dsgg0q1p827" data-type="link" href="https://learn.microsoft.com/en-us/collections/x31dsgg0q1p827"&gt;Microsoft’s Azure Well-Architected Framework&lt;/a&gt; (WAF) has significantly influenced my approach, enabling me to design and implement solutions that are not only efficient and robust but also align with the evolving needs of the business.&lt;/p&gt;</description></item><item><title>Integrating OpenAI into E-commerce: A Microservices Approach</title><link>https://bryanavery.co.uk/integrating-openai-into-e-commerce-a-microservices-approach/</link><pubDate>Wed, 15 Nov 2023 16:42:30 +0000</pubDate><guid>https://bryanavery.co.uk/integrating-openai-into-e-commerce-a-microservices-approach/</guid><description>&lt;p&gt;In the ever-evolving landscape of e-commerce, integrating intelligent systems has become not just an advantage but a necessity. This is where OpenAI comes into play within a microservices architecture. Let’s delve into a system blueprint and see how OpenAI enriches the e-commerce ecosystem.&lt;/p&gt;</description></item><item><title>How to Craft the Perfect ChatGPT Prompt for Maximum Output</title><link>https://bryanavery.co.uk/how-to-craft-the-perfect-chatgpt-prompt-for-maximum-output/</link><pubDate>Sun, 29 Oct 2023 15:08:15 +0000</pubDate><guid>https://bryanavery.co.uk/how-to-craft-the-perfect-chatgpt-prompt-for-maximum-output/</guid><description>&lt;p&gt;If you’re looking to extract the maximum potential from ChatGPT, you’re in the right place. In this post, I’ll walk you through a systematic approach to forming your prompts.&lt;/p&gt;&#10;&lt;span id="more-1825"&gt;&lt;/span&gt;&#10;&lt;h2&gt;Step 1: Role with a Speciality&lt;/h2&gt;&#10;&lt;p&gt;When interacting with ChatGPT, specificity is your friend. It’s not enough to merely state a role, like ‘copywriter’; you’ll fare much better if you specify a speciality within that role. For instance, instead of saying “You are a copywriter,” try “You are a copywriter who specialises in writing high-converting sales copy.” This will steer the model toward generating output that is more tailored to your needs.&lt;/p&gt;</description></item><item><title>Exploring the Safe Haven of Windows 11 Sandbox</title><link>https://bryanavery.co.uk/exploring-the-safe-haven-of-windows-11-sandbox/</link><pubDate>Sun, 29 Oct 2023 14:12:17 +0000</pubDate><guid>https://bryanavery.co.uk/exploring-the-safe-haven-of-windows-11-sandbox/</guid><description>&lt;p&gt;Are you ever hesitant to test new software or visit unfamiliar websites due to concerns about potential harm to your computer? Microsoft has your back with Windows 11 Sandbox, a feature that allows you to create a secure and isolated virtual environment for experimenting with software and browsing the web without putting your primary system at risk. In this blog post, we’ll dive into what Windows 11 Sandbox is and how you can access and use it on your Windows 11 Pro, Enterprise, or Education edition.&lt;/p&gt;</description></item><item><title>The Multidimensional Task of Responsible AI: Expert Insights</title><link>https://bryanavery.co.uk/the-multidimensional-task-of-responsible-ai-expert-insights/</link><pubDate>Thu, 28 Sep 2023 15:29:37 +0000</pubDate><guid>https://bryanavery.co.uk/the-multidimensional-task-of-responsible-ai-expert-insights/</guid><description>&lt;p&gt;Adding a layer of depth to our understanding of Responsible AI in the charity sector are insights from experts in the field. Their collective wisdom emphasises that the practice of Responsible AI is not merely a modern phenomenon; it has a historical backdrop dating back to the 1960s.&lt;/p&gt;</description></item><item><title>Tackling the Bias in AI: A Comprehensive Look and Way Forward</title><link>https://bryanavery.co.uk/tackling-the-bias-in-ai-a-comprehensive-look-and-way-forward/</link><pubDate>Thu, 28 Sep 2023 06:29:24 +0000</pubDate><guid>https://bryanavery.co.uk/tackling-the-bias-in-ai-a-comprehensive-look-and-way-forward/</guid><description>&lt;p&gt;Artificial Intelligence (AI) has become an integral part of our daily lives, from email suggestions to navigation apps and even in government systems. However, as David Ngure’s insightful article “&lt;a data-id="https://www.vpnmentor.com/blog/ai-generated-images-research/" data-type="link" href="https://www.vpnmentor.com/blog/ai-generated-images-research/"&gt;Are AI-Generated Images Biased?&lt;/a&gt;” points out, the technology is far from perfect. One of the most pressing issues is the inherent bias in AI systems, which can have severe societal implications. This blog post aims to delve deeper into AI bias, taking cues from Ngure’s research and proposing a way forward to tackle this issue.&lt;/p&gt;</description></item><item><title>Understanding the Common Risks Associated with Artificial Intelligence (AI)</title><link>https://bryanavery.co.uk/understanding-the-common-risks-associated-with-artificial-intelligence-ai/</link><pubDate>Wed, 06 Sep 2023 08:19:02 +0000</pubDate><guid>https://bryanavery.co.uk/understanding-the-common-risks-associated-with-artificial-intelligence-ai/</guid><description>&lt;p&gt;Artificial Intelligence (AI) has emerged as a transformative technology, influencing various industries and revolutionising how we live and work. However, the rapid adoption of AI technologies also brings many risks that must be carefully managed. This blog aims to provide a comprehensive overview of these risks and practical suggestions for their mitigation.&lt;/p&gt;</description></item><item><title>The Ethical Implications of Moq’s SponsorLink Feature: A Deep Dive</title><link>https://bryanavery.co.uk/the-ethical-implications-of-moqs-sponsorlink-feature-a-deep-dive/</link><pubDate>Tue, 29 Aug 2023 10:37:09 +0000</pubDate><guid>https://bryanavery.co.uk/the-ethical-implications-of-moqs-sponsorlink-feature-a-deep-dive/</guid><description>&lt;p&gt;In the ever-evolving landscape of software development, open-source projects often find themselves grappling with sustainability issues. While sponsorship models have emerged as a viable solution, they sometimes raise ethical and security concerns. One such example is the SponsorLink feature in Moq, a popular mocking framework for .NET. A Reddit post recently brought attention to this feature, sparking a debate on its ethical implications. This blog post aims to dissect the issue and provide a balanced perspective.&lt;/p&gt;</description></item><item><title>The Rapid Rise of Generative AI and Its Risks for Consumers</title><link>https://bryanavery.co.uk/the-rapid-rise-of-generative-ai-and-its-risks-for-consumers/</link><pubDate>Tue, 22 Aug 2023 10:05:54 +0000</pubDate><guid>https://bryanavery.co.uk/the-rapid-rise-of-generative-ai-and-its-risks-for-consumers/</guid><description>&lt;p&gt;Generative artificial intelligence (AI) models like ChatGPT have exploded in popularity in recent months. These AI systems can generate synthetic text, images, audio and video that closely resembles human-created content. Major tech companies are racing to integrate generative AI into their platforms and services. But this rapid development and deployment raises serious concerns about potential consumer harm that must be addressed.&lt;/p&gt;</description></item><item><title>Governing AI: What This Means For Technical Consultants</title><link>https://bryanavery.co.uk/governing-ai-what-this-means-for-technical-consultants/</link><pubDate>Mon, 31 Jul 2023 09:23:52 +0000</pubDate><guid>https://bryanavery.co.uk/governing-ai-what-this-means-for-technical-consultants/</guid><description>&lt;p&gt;As a technical consultant advising clients on AI solutions, the implications of the new blueprint on governing AI proposed by Microsoft are significant. While bringing exciting new capabilities, AI also creates new responsibilities. As trusted advisors to clients, it’s important we stay up-to-date on the evolving laws, regulations and best practices around responsible AI development.&lt;/p&gt;</description></item><item><title>Unlocking the Power of Data with an Intelligent Platform</title><link>https://bryanavery.co.uk/unlocking-the-power-of-data-with-an-intelligent-platform/</link><pubDate>Tue, 18 Jul 2023 14:31:21 +0000</pubDate><guid>https://bryanavery.co.uk/unlocking-the-power-of-data-with-an-intelligent-platform/</guid><description>&lt;p&gt;In today’s data-driven world, companies live or die based on how well they utilise data. Organisations like Google, Amazon and Netflix owe their success largely to data analytics. They uncovered game-changing insights that propelled them to dominance.&lt;/p&gt;</description></item><item><title>Claude – The AI Assistant from Anthropic</title><link>https://bryanavery.co.uk/claude-the-ai-assistant-from-anthropic/</link><pubDate>Fri, 14 Jul 2023 09:02:51 +0000</pubDate><guid>https://bryanavery.co.uk/claude-the-ai-assistant-from-anthropic/</guid><description>&lt;p&gt;Artificial intelligence has taken big leaps forward in recent years. One of the most exciting and friendly new AI systems is Claude, created by the AI research company Anthropic. Claude is an AI assistant designed to be helpful, harmless, and honest.&lt;/p&gt;</description></item><item><title>Azure Cognitive Services</title><link>https://bryanavery.co.uk/azure-cognitive-services/</link><pubDate>Mon, 10 Jul 2023 08:00:59 +0000</pubDate><guid>https://bryanavery.co.uk/azure-cognitive-services/</guid><description>&lt;p&gt;As a developer, you may want to create intelligent applications that can see, hear, speak, and comprehend natural language. You might assume that achieving this requires extensive AI or data science expertise. However, I’m here to inform you that you can incorporate AI capabilities into your applications with just a few lines of code.&lt;/p&gt;</description></item><item><title>Unlocking the Power of AI: Embracing the Potential for Positive Change</title><link>https://bryanavery.co.uk/unlocking-the-power-of-ai-embracing-the-potential-for-positive-change/</link><pubDate>Fri, 07 Jul 2023 07:35:44 +0000</pubDate><guid>https://bryanavery.co.uk/unlocking-the-power-of-ai-embracing-the-potential-for-positive-change/</guid><description>&lt;p&gt;Title: Unlocking the Power of AI: Embracing the Potential for Positive Change&lt;/p&gt;&#10;&lt;h2&gt;Introduction:&lt;/h2&gt;&#10;&lt;p&gt;Artificial Intelligence (AI) is a term often used in various contexts, encompassing machine learning, deep learning, data science, generative AI, and responsible AI. Yet, understanding these concepts and their distinctions is key to unleashing their uplifting potential in solving real-world challenges. In this uplifting blog post, we will shed light on the fundamental concepts of AI technology and explore how they can be harnessed to create positive transformations in businesses and beyond.&lt;/p&gt;</description></item><item><title>Ensuring API Security in DevSecOps: Best Practices for a Robust System</title><link>https://bryanavery.co.uk/ensuring-api-security-in-devsecops-best-practices-for-a-robust-system/</link><pubDate>Tue, 20 Jun 2023 13:59:29 +0000</pubDate><guid>https://bryanavery.co.uk/ensuring-api-security-in-devsecops-best-practices-for-a-robust-system/</guid><description>&lt;p&gt;In today’s interconnected world, Application Programming Interfaces (APIs) have become the backbone of modern software development. They enable seamless communication and interaction between different systems and applications. However, this convenience comes with inherent security risks. To mitigate these risks and ensure the integrity of the entire system, integrating API security into the DevSecOps framework is essential. In this blog post, we will explore the best practices for API security within the context of DevSecOps, focusing on British English conventions.&lt;/p&gt;</description></item><item><title>Tomb AI: A New Way to Create Stories with Artificial Intelligence</title><link>https://bryanavery.co.uk/tomb-ai-a-new-way-to-create-stories-with-artificial-intelligence/</link><pubDate>Fri, 09 Jun 2023 08:17:39 +0000</pubDate><guid>https://bryanavery.co.uk/tomb-ai-a-new-way-to-create-stories-with-artificial-intelligence/</guid><description>&lt;p&gt;Have you ever wanted to write a story but felt stuck or uninspired? Or maybe you have a great idea but don’t have the time or skills to turn it into a captivating narrative. If so, you might be interested in Tomb AI, a new online platform that uses artificial intelligence (AI) to help you create stories from scratch.&lt;/p&gt;</description></item><item><title>Exploring the Power and Considerations of Synthetic Data</title><link>https://bryanavery.co.uk/exploring-the-power-and-considerations-of-synthetic-data/</link><pubDate>Thu, 11 May 2023 09:14:50 +0000</pubDate><guid>https://bryanavery.co.uk/exploring-the-power-and-considerations-of-synthetic-data/</guid><description>&lt;p&gt;Synthetic data is like a virtual twin of real-world information, generated artificially instead of from actual events. It’s created using clever algorithms and serves two primary purposes: validating mathematical models and training machine learning models. You can think of data generated by computer simulations, such as music synthesisers or flight simulators, as synthetic data examples.&lt;/p&gt;</description></item><item><title>AI Images</title><link>https://bryanavery.co.uk/ai-images/</link><pubDate>Fri, 28 Apr 2023 09:42:30 +0000</pubDate><guid>https://bryanavery.co.uk/ai-images/</guid><description>&lt;p&gt;AI-generated images have become increasingly popular in recent years, as they offer a quick and easy way to create unique and eye-catching visuals. There are several websites that offer AI-generated images, each with its own set of features and capabilities.&lt;/p&gt;</description></item><item><title>Various ChatGPT implementation</title><link>https://bryanavery.co.uk/various-chatgpt-implementation/</link><pubDate>Thu, 27 Apr 2023 09:06:29 +0000</pubDate><guid>https://bryanavery.co.uk/various-chatgpt-implementation/</guid><description>&lt;p&gt;Hey, here’s a roundup of all the ChatGPT versions we’ve got till now. Let’s keep this list fresh and handy, alright?&lt;/p&gt;&#10;&lt;span id="more-1669"&gt;&lt;/span&gt;&#10;&lt;h2&gt;HuggingChat&lt;/h2&gt;&#10;&lt;p&gt;&lt;a href="https://huggingface.co/chat/" rel="noreferrer noopener" target="_blank"&gt;HuggingChat &lt;/a&gt;is an open-source AI assistant developed by Hugging Face that aims to provide users with a friendly, human-like personality and the ability to understand and respond to natural language queries1. It is essentially a user interface that allows people to interact with an open-source chat assistant dubbed Open Assistant1. With HuggingChat, you can enjoy an AI assistant that is accessible to everyone and can handle many of the tasks that ChatGPT can.&lt;/p&gt;</description></item><item><title>ChatGPT: The Advancements in Language Modelling</title><link>https://bryanavery.co.uk/chatgpt-the-advancements-in-language-modelling/</link><pubDate>Thu, 27 Apr 2023 06:43:15 +0000</pubDate><guid>https://bryanavery.co.uk/chatgpt-the-advancements-in-language-modelling/</guid><description>&lt;hr class="has-alpha-channel-opacity"/&gt;&#10;&lt;p&gt;Chatbots have been around for a while and are widely used to automate customer service and support. However, with the advent of advanced language models like ChatGPT, the capabilities of chatbots have significantly expanded.&lt;/p&gt;&#10;&lt;span id="more-1661"&gt;&lt;/span&gt;&#10;&lt;p&gt;ChatGPT is a language model developed by OpenAI that’s based on the GPT-3 architecture. It’s a Generative Pre-trained Transformer that uses deep learning algorithms to generate human-like text. With massive data and advanced training techniques, ChatGPT can understand and respond to a wide range of topics with remarkable accuracy.&lt;/p&gt;</description></item><item><title>Software Composition Analysis Tools</title><link>https://bryanavery.co.uk/software-composition-analysis-tools/</link><pubDate>Thu, 13 Apr 2023 13:20:34 +0000</pubDate><guid>https://bryanavery.co.uk/software-composition-analysis-tools/</guid><description>&lt;p&gt;This post shows how each provider measures up and helps you select the correct Software Composition Analysis for your needs.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Fact&lt;/strong&gt;: Software Composition Analysis (SCA) protects the software supply chain. In a report by Forrester&lt;a href="https://bryanavery.co.uk/index.html%3Fp=1651.html#_ftn1" rel="noreferrer noopener" target="_blank"&gt;[1]&lt;/a&gt; and Gartner&lt;a href="https://bryanavery.co.uk/index.html%3Fp=1651.html#_ftn2" rel="noreferrer noopener" target="_blank"&gt;[2]&lt;/a&gt;, they explore how industry providers measure up, which will assist you in selecting the right one for your needs. It’s a valuable assessment of top suppliers in today’s market. Details below are an extract of this report with additional information which applies to our environment.&lt;/p&gt;</description></item><item><title>Security Policies and Guidelines</title><link>https://bryanavery.co.uk/security-policies-and-guidelines/</link><pubDate>Wed, 05 Apr 2023 16:40:18 +0000</pubDate><guid>https://bryanavery.co.uk/security-policies-and-guidelines/</guid><description>&lt;p&gt;Here is a list of Security Policies and Guidelines from Microsoft&lt;/p&gt;&#10;&lt;span id="more-1647"&gt;&lt;/span&gt;&#10;&lt;p&gt;For V01: https://learn.microsoft.com/en-us/azure/storage/blobs/security-recommendations#:~:text=Require%20secure%20transfer%20(HTTPS)%20to%20the%20storage%20account&lt;br/&gt;For V02: https://learn.microsoft.com/en-us/azure/app-service/security-recommendations#:~:text=Use%20static%20IP%20restrictions&lt;br/&gt;For V03: No Microsoft recommendation applies here&lt;br/&gt;For V04: https://learn.microsoft.com/en-us/security/benchmark/azure/baselines/service-bus-security-baseline#dp-3-encrypt-sensitive-data-in-transit&lt;br/&gt;For V05: https://learn.microsoft.com/en-us/azure/network-watcher/network-watcher-nsg-flow-logging-overview#best-practices&lt;br/&gt;For V06: https://learn.microsoft.com/en-us/azure/network-watcher/network-watcher-nsg-flow-logging-overview#best-practices&lt;br/&gt;For V07: https://learn.microsoft.com/en-us/azure/storage/blobs/security-recommendations#networking:~:text=Enable%20firewall%20rules and https://learn.microsoft.com/en-us/azure/key-vault/general/best-practices#:~:text=Turn%20on%20firewall%20and%20virtual%20network%20service%20endpoints.&lt;br/&gt;For V08: https://learn.microsoft.com/en-us/azure/storage/blobs/security-recommendations#:~:text=Turn%20on%20soft%20delete%20for%20blobs&lt;/p&gt;</description></item><item><title>Sensitive information definitions</title><link>https://bryanavery.co.uk/sensitive-information-definitions/</link><pubDate>Thu, 24 Nov 2022 12:20:10 +0000</pubDate><guid>https://bryanavery.co.uk/sensitive-information-definitions/</guid><description>&lt;p&gt;Sensitive information can be protected from misuse through Encryption, Pseudonymization and Anonymization controls, converting plain text to an unusable format.&lt;/p&gt;&#10;&lt;span id="more-1643"&gt;&lt;/span&gt;&#10;&lt;p&gt;Only authorized users with the proper key/source should be able to see sensitive data (or in the case of Anonymization, not at all). Each of these methods work differently, as summarized below.&lt;/p&gt;</description></item><item><title>Azure Access Tiers in Azure storage</title><link>https://bryanavery.co.uk/azure-access-tiers-in-azure-storage/</link><pubDate>Wed, 13 Jul 2022 09:41:23 +0000</pubDate><guid>https://bryanavery.co.uk/azure-access-tiers-in-azure-storage/</guid><description>&lt;p&gt;There are various types and nature of data we store in Azure storage. All kinds of blob data have different accessibility requirements. Sometimes data accessibility reduces over time, whereas accessibility remains the same for some blob data types. There is no point in paying the same price for data that is rarely being accessed or not accessed at all. Azure provides &lt;strong&gt;Access Tiers&lt;/strong&gt; property to address such scenarios and optimize the cost on blobs with less accessibility.&lt;/p&gt;</description></item><item><title>Environment Strategy</title><link>https://bryanavery.co.uk/environment-strategy/</link><pubDate>Tue, 05 Jul 2022 08:23:28 +0000</pubDate><guid>https://bryanavery.co.uk/environment-strategy/</guid><description>&lt;h1 id="x_Overview"&gt;Overview&lt;/h1&gt;&#10;&lt;p&gt;Businesses should believe that every team is in the business of creating great customer experiences.&lt;/p&gt;&#10;&lt;p&gt;To achieve that, the application must do more than just provide control, reporting and audibility. The business needs to tap into data signals from across its business and use them to drive ongoing improvements in the products, services, and experiences they intend to deliver to its customers.&lt;/p&gt;</description></item><item><title>End of the Road For Azure DevOps?</title><link>https://bryanavery.co.uk/end-of-the-road-for-azure-devops/</link><pubDate>Tue, 03 May 2022 07:42:21 +0000</pubDate><guid>https://bryanavery.co.uk/end-of-the-road-for-azure-devops/</guid><description>&lt;p&gt;With Microsoft now owning GitHub, the technical teams have been integrated, resulting in Azure DevOps and GitHub having the same leadership and personnel. The long-term strategic direction will be GitHub, but there is no plan for Azure DevOps to go into maintenance/sunset; therefore, choosing Azure DevOps is entirely OK in short to (undefined) medium term. Azure DevOps is currently in the early stages of development. When migration tools are needed, Microsoft will give them.&lt;/p&gt;</description></item><item><title>MVP – Minimum Viable Product</title><link>https://bryanavery.co.uk/mvp-minimum-viable-product/</link><pubDate>Mon, 24 Jan 2022 11:39:39 +0000</pubDate><guid>https://bryanavery.co.uk/mvp-minimum-viable-product/</guid><description>&lt;p&gt;“The minimum viable product is that product which has just those features (and no more) that allows you to ship a product that resonates with early adoptors; some of whom will pay you money or give you feedback” – Eric Ries&lt;/p&gt;</description></item><item><title>Deployment Strategies</title><link>https://bryanavery.co.uk/deployment-strategies/</link><pubDate>Tue, 18 Jan 2022 13:45:50 +0000</pubDate><guid>https://bryanavery.co.uk/deployment-strategies/</guid><description>&lt;p&gt;There are a variety of techniques to deploy new updates for environments to production, so choosing the right strategy is an important decision, weighing the options in terms of the impact of change on the system and the end-users.&lt;br/&gt;The following strategies need to be considered:&lt;/p&gt;</description></item><item><title>GitHub Naming Repositories</title><link>https://bryanavery.co.uk/github-naming-repositories/</link><pubDate>Thu, 04 Nov 2021 10:43:20 +0000</pubDate><guid>https://bryanavery.co.uk/github-naming-repositories/</guid><description>&lt;p&gt;As part of our customer engagement, we have defined a naming convention for GitHub repositories. &lt;/p&gt;&#10;&lt;p&gt;We have ideas around what conventions made sense, although the type of work influences these. As we tend to spend some of your engineering time working with different languages, conventions around naming formats make sense to the engineers. These, of course, might not make sense to individuals in other fields. &lt;/p&gt;</description></item><item><title>gists</title><link>https://bryanavery.co.uk/gists/</link><pubDate>Thu, 04 Nov 2021 10:40:50 +0000</pubDate><guid>https://bryanavery.co.uk/gists/</guid><description>&lt;p&gt;GISTS – engage in chat or gossip. &lt;br/&gt;“I need a good friend I can always gist with.” &lt;/p&gt;&#10;&lt;p&gt;It is always good to chat with others, which is how we learn from each other. So why don’t project teams chat with each other? In this day and age of working from home, it is becoming more and more critical to form a social network, which helps not only with mental health but also work-related ideas and time. &lt;/p&gt;</description></item><item><title>Requirements for Azure Red Hat OpenShift</title><link>https://bryanavery.co.uk/requirements-for-azure-red-hat-openshift/</link><pubDate>Sat, 09 Oct 2021 17:28:00 +0000</pubDate><guid>https://bryanavery.co.uk/requirements-for-azure-red-hat-openshift/</guid><description>&lt;p&gt;The installation model for OCP 4.x is different than 3.x and there are no Azure Resource Manager templates available for deploying OCP 4.x in Azure &lt;/p&gt;&#10;&lt;span id="more-1539"&gt;&lt;/span&gt;&#10;&lt;p&gt;&lt;a href="https://docs.microsoft.com/en-us/azure/virtual-machines/linux/openshift-container-platform-4x"&gt;https://docs.microsoft.com/en-us/azure/virtual-machines/linux/openshift-container-platform-4x&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="https://docs.openshift.com/aro/4/welcome/index.html"&gt;https://docs.openshift.com/aro/4/welcome/index.html&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;Azure Red Hat OpenShift 4 Documentation &lt;/p&gt;&#10;&lt;p&gt; &lt;br/&gt;&lt;strong&gt;Important&lt;/strong&gt; &lt;/p&gt;&#10;&lt;p&gt;Azure Red Hat OpenShift is supported by Red Hat and Microsoft. As of February 2021, the documentation will be hosted by Microsoft and Red Hat as outlined below. &lt;/p&gt;</description></item><item><title>Red Hat OpenShift</title><link>https://bryanavery.co.uk/red-hat-openshift/</link><pubDate>Wed, 08 Sep 2021 11:58:15 +0000</pubDate><guid>https://bryanavery.co.uk/red-hat-openshift/</guid><description>&lt;p&gt;What is Red Hat OpenShift?&lt;/p&gt;&#10;&lt;p&gt;OpenShift is Kubernetes, but it is also more than Kubernetes it is a collection of other software services that gives you the ability to run an entire Kubernetes environment, which includes:&lt;/p&gt;</description></item><item><title>Memory Leaks in .NET</title><link>https://bryanavery.co.uk/memory-leaks-in-net/</link><pubDate>Tue, 13 Jul 2021 11:43:49 +0000</pubDate><guid>https://bryanavery.co.uk/memory-leaks-in-net/</guid><description>&lt;p&gt;On big enterprise projects, memory leaks are like rodents in a factory. You might not notice when there are a few of them, but you always have to be on guard in case they overpopulate, infesting the factory will cause the closer and failure of the factory.&lt;/p&gt;</description></item><item><title>Hosted Background timer task</title><link>https://bryanavery.co.uk/hosted-background-timer-task/</link><pubDate>Wed, 05 May 2021 12:44:09 +0000</pubDate><guid>https://bryanavery.co.uk/hosted-background-timer-task/</guid><description>&lt;p&gt;If you need a background task within .Net Core to be run at set times we can use the Hosted Service provided from the service within .Net Core.&lt;/p&gt;&#10;&lt;span id="more-1511"&gt;&lt;/span&gt;&#10;&lt;p&gt;A timed background task makes use of the &lt;a href="https://docs.microsoft.com/en-us/dotnet/api/system.threading.timer"&gt;System.Threading.Timer&lt;/a&gt; class. The timer triggers the task’s &lt;code&gt;DoWork&lt;/code&gt; method. The timer is disabled on &lt;code&gt;StopAsync&lt;/code&gt; and disposed when the service container is disposed on &lt;code&gt;Dispose&lt;/code&gt;:&lt;/p&gt;</description></item><item><title>Hosting a service inside ASP.NET Core</title><link>https://bryanavery.co.uk/hosting-a-service-inside-asp-net-core/</link><pubDate>Wed, 05 May 2021 09:47:17 +0000</pubDate><guid>https://bryanavery.co.uk/hosting-a-service-inside-asp-net-core/</guid><description>&lt;p&gt;A little hidden gem within .Net Core is the ability to run a Hosted Service inside the application. This allows for your service to run in a different thread to the main application, but keeps everything together though the need to host a separate service.&lt;/p&gt;</description></item><item><title>ILogger in .NET: best practices</title><link>https://bryanavery.co.uk/ilogger-in-net-best-practices/</link><pubDate>Fri, 23 Apr 2021 09:55:32 +0000</pubDate><guid>https://bryanavery.co.uk/ilogger-in-net-best-practices/</guid><description>&lt;p&gt;If you are like me you will have been using ILogger in DotNet Core for some time, but you’ll have noticed there are many ways to use the logger, I found this useful article by &lt;a href="https://blog.rsuter.com/" rel="noreferrer noopener" target="_blank"&gt;Rico Suter&lt;/a&gt; going over some recommendation and best practices.&lt;/p&gt;</description></item><item><title>Convert an enum to a list</title><link>https://bryanavery.co.uk/convert-an-enum-to-a-list/</link><pubDate>Mon, 01 Mar 2021 15:35:28 +0000</pubDate><guid>https://bryanavery.co.uk/convert-an-enum-to-a-list/</guid><description>&lt;p&gt;Here are various was to convert enums to a lists&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="https://www.techiedelight.com/convert-enum-to-list-csharp/" rel="noreferrer noopener" target="_blank"&gt;Original posting&lt;/a&gt; &lt;/p&gt;&#10;&lt;h3&gt;Get a List of Enum Members&lt;/h3&gt;&#10;&lt;p&gt;The idea is to use &lt;code&gt;&lt;a href="https://docs.microsoft.com/en-us/dotnet/api/system.enum.getvalues" rel="noreferrer noopener" target="_blank"&gt;Enum.GetValues()&lt;/a&gt;&lt;/code&gt; method to get an array of the values of the constants in the enum. To get an &lt;code&gt;IEnumerable&amp;lt;T&amp;gt;&lt;/code&gt; of all the values in the enum, call &lt;code&gt;Cast&amp;lt;T&amp;gt;()&lt;/code&gt; on the array. To get a list, call &lt;code&gt;ToList()&lt;/code&gt; after casting.&lt;/p&gt;</description></item><item><title>SQL Record Count</title><link>https://bryanavery.co.uk/sql-record-count/</link><pubDate>Wed, 10 Feb 2021 15:02:01 +0000</pubDate><guid>https://bryanavery.co.uk/sql-record-count/</guid><description>&lt;p&gt;The fastest way to perform a SQL record count is:&lt;/p&gt;&#10;&lt;div&gt;&lt;pre class="brush: plain; title: ; notranslate" title=""&gt;&#10;DECLARE @TableName sysname&#10;SET @TableName = 'Log'&#10;&lt;p&gt;SELECT TBL.object_id, TBL.name, SUM(PART.rows) AS rows&#10;FROM sys.tables TBL&#10;INNER JOIN sys.partitions PART ON TBL.object_id = PART.object_id&#10;INNER JOIN sys.indexes IDX ON PART.object_id = IDX.object_id&#10;AND PART.index_id = IDX.index_id&#10;WHERE TBL.name = @TableName&#10;AND IDX.index_id &amp;amp;lt; 2&#10;GROUP BY TBL.object_id, TBL.name;&#10;&lt;/pre&gt;&lt;/div&gt;&lt;/p&gt;</description></item><item><title>Unit Test Boilerplate Generator</title><link>https://bryanavery.co.uk/unit-test-boilerplate-generator/</link><pubDate>Mon, 25 Jan 2021 11:26:30 +0000</pubDate><guid>https://bryanavery.co.uk/unit-test-boilerplate-generator/</guid><description>&lt;p&gt;I love this smart template generator, saves so much time and effort.&lt;/p&gt;&#10;&lt;p&gt;Generates a unit test boilerplate from a given C# class, setting up mocks for all dependencies. Right click an item in Solution Explorer and choose “Create Unit Test Boilerplate” . Supports Visual Studio Test, NUnit, xUnit and many mock frameworks.&lt;/p&gt;</description></item><item><title>Circuit Breaker</title><link>https://bryanavery.co.uk/circuit-breaker/</link><pubDate>Fri, 15 Jan 2021 10:54:58 +0000</pubDate><guid>https://bryanavery.co.uk/circuit-breaker/</guid><description>&lt;p&gt;As defined by Polly “A circuit breaker detects the level of faults in calls placed through it, and prevents calls when a configurable fault threshold is exceeded”.&lt;/p&gt;&#10;&lt;span id="more-1468"&gt;&lt;/span&gt;&#10;&lt;p&gt;The circuit breaker only makes sense when calling a less reliable API.&lt;/p&gt;</description></item><item><title>Fault tolerance using Polly</title><link>https://bryanavery.co.uk/fault-tolerance-using-polly/</link><pubDate>Mon, 09 Nov 2020 08:18:53 +0000</pubDate><guid>https://bryanavery.co.uk/fault-tolerance-using-polly/</guid><description>&lt;h2&gt;What is a Resilience Framework?&lt;/h2&gt;&#10;&lt;p&gt;Polly is classed as a resilience framework. A resilience framework is a set of libraries that help an application to recover from transient or more extended failures in services or infrastructure upon which it depends. When recovery is not possible, the resilience framework will facilitate graceful degradation of your application.&lt;/p&gt;</description></item><item><title>Throttling/Rate Limiter for an API</title><link>https://bryanavery.co.uk/throttling-rate-limiter-for-an-api/</link><pubDate>Wed, 12 Aug 2020 09:08:32 +0000</pubDate><guid>https://bryanavery.co.uk/throttling-rate-limiter-for-an-api/</guid><description>&lt;p&gt;Throttling and rate-limiting allow you to prevent abuse of your API and ensure that your API withstands large numbers of calls (including DoS and accidental loops). With Throttling, you can set a delay on calls after an SLA tier has been exceeded, slowing down the number of requests an API client is making.&lt;/p&gt;</description></item><item><title>ASP.NET Core Guidance</title><link>https://bryanavery.co.uk/asp-net-core-guidance/</link><pubDate>Tue, 30 Jun 2020 07:02:30 +0000</pubDate><guid>https://bryanavery.co.uk/asp-net-core-guidance/</guid><description>&lt;p&gt;I came across a very good article on ASP.NET Core which I needed to bookmark, as it gives a clear and understandable guidance on keeping things working as efficiently as possible.&lt;/p&gt;&#10;&lt;span id="more-1424"&gt;&lt;/span&gt;&#10;&lt;p&gt;&lt;a href="https://github.com/davidfowl/AspNetCoreDiagnosticScenarios/blob/master/AspNetCoreGuidance.md"&gt;https://github.com/davidfowl/AspNetCoreDiagnosticScenarios/blob/master/AspNetCoreGuidance.md&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;Here is a copy of the post&lt;/p&gt;</description></item><item><title>Asynchronous Programming the right way</title><link>https://bryanavery.co.uk/asynchronous-programming-the-right-way/</link><pubDate>Tue, 30 Jun 2020 06:45:51 +0000</pubDate><guid>https://bryanavery.co.uk/asynchronous-programming-the-right-way/</guid><description>&lt;p&gt;There is a right way and a wrong way with programme Asynchronously, mainly due to the initial way Microsoft brought in Async programming was not best practise and they have now made changes to make it more effective and be more productive.&lt;/p&gt;</description></item><item><title>JSON Web Tokens (JWT)</title><link>https://bryanavery.co.uk/json-web-tokens-jwt/</link><pubDate>Sat, 30 May 2020 15:03:56 +0000</pubDate><guid>https://bryanavery.co.uk/json-web-tokens-jwt/</guid><description>&lt;h2&gt;Overview&lt;/h2&gt;&#10;&lt;p&gt;JSON Web Tokens is an emerging standard. They are very close to their standardisation. &lt;a href="https://www.ietf.org/" rel="noreferrer noopener" target="_blank"&gt;IETF&lt;/a&gt; has taken care of that, and &lt;a href="https://openid.net/connect/" rel="noreferrer noopener" target="_blank"&gt;OpenID&lt;/a&gt; connect mandates the use of JSON Web token for all of the tokens that are exchanged in that protocol. this article gives you a little look, an overview of the purpose of security tokens, and, and what other types of tokens we have out there and where, where they are used. Then we have a look at the structure of a JSON Web Token, and then we’ll show you how easy it is to create and consume them using the Microsoft DotNet Core development framework.&lt;/p&gt;</description></item><item><title>REST Client / Server API</title><link>https://bryanavery.co.uk/rest-client-server-api/</link><pubDate>Mon, 25 May 2020 16:18:15 +0000</pubDate><guid>https://bryanavery.co.uk/rest-client-server-api/</guid><description>&lt;p&gt;Here is a simple REST Client talking to a stand along Server API all written in DotNet Core 3.1.&lt;/p&gt;&#10;&lt;p&gt;It is loosely based on creating a simple REST Client, an tutorial from Microsoft can give you the very basic features in DotNet Core&lt;br/&gt;&lt;br/&gt;&lt;a href="https://docs.microsoft.com/en-us/dotnet/csharp/tutorials/console-webapiclient" rel="noreferrer noopener" target="_blank"&gt;https://docs.microsoft.com/en-us/dotnet/csharp/tutorials/console-webapiclient&lt;/a&gt;&lt;/p&gt;</description></item><item><title>BitBucket Server to Jenkins</title><link>https://bryanavery.co.uk/bitbucket-server-to-jenkins/</link><pubDate>Tue, 28 Apr 2020 12:41:46 +0000</pubDate><guid>https://bryanavery.co.uk/bitbucket-server-to-jenkins/</guid><description>&lt;p&gt;Nice video to attached a BitBucket Server to Jenkins&lt;/p&gt;&#10;&lt;figure class="is-type-video is-provider-youtube"&gt;&lt;div&gt;&#10;&lt;iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen="" frameborder="0" height="267" referrerpolicy="strict-origin-when-cross-origin" src="https://www.youtube.com/embed/0-FugzVYJQU?feature=oembed" title="Bitbucket Server integration for Jenkins" width="474"&gt;&lt;/iframe&gt;&#10;&lt;/div&gt;&lt;/figure&gt;&#10;&lt;p&gt;&lt;/p&gt;</description></item><item><title>Health Checks</title><link>https://bryanavery.co.uk/health-checks/</link><pubDate>Sun, 19 Apr 2020 11:11:59 +0000</pubDate><guid>https://bryanavery.co.uk/health-checks/</guid><description>&lt;p&gt;Using DotNet Core comes some responsibilities, one of those is making sure your application is up and running.&lt;/p&gt;&#10;&lt;p&gt;Since DotNet Core 2.2 the introductions of health checks have been established.&lt;/p&gt;&#10;&lt;p&gt;There are two types of Health Checks&lt;/p&gt;</description></item><item><title>Enabling docker remote API on OSX</title><link>https://bryanavery.co.uk/enabling-docker-remote-api-on-osx/</link><pubDate>Tue, 14 Apr 2020 06:19:46 +0000</pubDate><guid>https://bryanavery.co.uk/enabling-docker-remote-api-on-osx/</guid><description>&lt;p&gt;Recently I was playing with docker API on OSX to use with Jenkins and the setup was little complicated so I thought to put all steps together in one place. Just to summarise the default tcp port for docker is &lt;a href="https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml?search=2376" rel="noreferrer noopener" target="_blank"&gt;2375&lt;/a&gt; (unencrypted) and &lt;a href="https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml?search=2376" rel="noreferrer noopener" target="_blank"&gt;2376&lt;/a&gt;(encrypted) communication over tcp(although we can choose any other port).&lt;/p&gt;</description></item><item><title>10 Docker image security best practices</title><link>https://bryanavery.co.uk/10-docker-image-security-best-practices/</link><pubDate>Mon, 13 Apr 2020 15:24:36 +0000</pubDate><guid>https://bryanavery.co.uk/10-docker-image-security-best-practices/</guid><description>&lt;div&gt;&lt;a href="https://bryanavery.co.uk/media/articles/2020/04/Docker_Image_Security_Best_Practices_.pdf"&gt;Docker_Image_Security_Best_Practices_&lt;/a&gt;&lt;a download="" href="https://bryanavery.co.uk/media/articles/2020/04/Docker_Image_Security_Best_Practices_.pdf"&gt;Download&lt;/a&gt;&lt;/div&gt;&#10;&lt;p&gt;Original files from: snyk&lt;/p&gt;</description></item><item><title>Local Smtp server on Docker</title><link>https://bryanavery.co.uk/local-smtp-server-on-docker/</link><pubDate>Mon, 13 Apr 2020 12:01:54 +0000</pubDate><guid>https://bryanavery.co.uk/local-smtp-server-on-docker/</guid><description>&lt;p&gt;Quick and easy way to setup an SMTP mail server using docker&lt;/p&gt;&#10;&lt;pre&gt;&lt;code&gt;docker run --restart unless-stopped --name mailhog -p 1025:1025 -p 8025:8025 -d mailhog/mailhog&lt;/code&gt;&lt;/pre&gt;&#10;&lt;p&gt;&lt;/p&gt;</description></item><item><title>Jenkins in Docker</title><link>https://bryanavery.co.uk/jenkins-in-docker/</link><pubDate>Sun, 12 Apr 2020 14:59:25 +0000</pubDate><guid>https://bryanavery.co.uk/jenkins-in-docker/</guid><description>&lt;p&gt;We love Jenkins and we love Docker, so let’s get them working together.&lt;/p&gt;&#10;&lt;p&gt;We are assuming you already have Docker installed on your environment.&lt;br/&gt;&lt;br/&gt;Here is the terminal command to use:&lt;/p&gt;&#10;&lt;span id="more-1353"&gt;&lt;/span&gt;&#10;&lt;pre&gt;&lt;code&gt;docker run -p 8080:8080 -p 50000:50000 -v /Jenkins/jenkins-master:/var/jenkins_home --name jenkins-master jenkins/jenkins:lts&lt;/code&gt;&lt;/pre&gt;&#10;&lt;p&gt;Let’s break it down:&lt;/p&gt;</description></item><item><title>Low-Bandwidth website</title><link>https://bryanavery.co.uk/low-bandwidth-website/</link><pubDate>Wed, 26 Feb 2020 11:40:12 +0000</pubDate><guid>https://bryanavery.co.uk/low-bandwidth-website/</guid><description>&lt;p&gt;Many of today’s website is designed around giving a good user experience. This comes at a cost of high-bandwidth. Not everyone in the world will have a good internet connection, how about when you are at sea on a ship or in a developing country such as India or Pakistan.&lt;/p&gt;</description></item><item><title>Sample .NET Core Docker file</title><link>https://bryanavery.co.uk/sample-net-core-docker-file/</link><pubDate>Thu, 20 Feb 2020 15:20:23 +0000</pubDate><guid>https://bryanavery.co.uk/sample-net-core-docker-file/</guid><description>&lt;p&gt;Here is a working example of a simple Docker file for a .NET Core 3.1 project&lt;/p&gt;&#10;&lt;pre&gt;&lt;code&gt;FROM mcr.microsoft.com/dotnet/core/sdk:3.1 AS build-env&#10;WORKDIR /app&#10;&lt;p&gt;COPY project.csproj ./&#10;RUN dotnet restore&lt;/p&gt;&#10;&lt;p&gt;COPY . ./&#10;RUN dotnet publish -c Release -o out&lt;/p&gt;&#10;&lt;p&gt;FROM mcr.microsoft.com/dotnet/core/runtime:3.1&lt;/p&gt;&#10;&lt;p&gt;WORKDIR /app&#10;COPY &amp;ndash;from=build-env /app/out .&lt;/p&gt;&#10;&lt;p&gt;ENTRYPOINT [&amp;ldquo;dotnet&amp;rdquo;, &amp;ldquo;project.dll&amp;rdquo;]&lt;/code&gt;&lt;/pre&gt;</description></item><item><title>Docker cribsheet</title><link>https://bryanavery.co.uk/docker-cribsheet/</link><pubDate>Mon, 17 Feb 2020 11:13:01 +0000</pubDate><guid>https://bryanavery.co.uk/docker-cribsheet/</guid><description>&lt;h2&gt;Build&lt;/h2&gt;&#10;&lt;p&gt;Build an image from the Dockerfile in the current directory and tag the image&lt;/p&gt;&#10;&lt;pre&gt;&lt;code&gt;docker build -t myimage -f Dockerfile .&lt;/code&gt;&lt;/pre&gt;&#10;&lt;p&gt;List all images that are locally stored with the Docker Engine&lt;/p&gt;&#10;&lt;pre&gt;&lt;code&gt;docker ps -a&lt;/code&gt;&lt;/pre&gt;&#10;&lt;p&gt;Delete an image from the local image store&lt;/p&gt;</description></item><item><title>Benefits of Containers</title><link>https://bryanavery.co.uk/benefits-of-containers/</link><pubDate>Fri, 14 Feb 2020 13:47:29 +0000</pubDate><guid>https://bryanavery.co.uk/benefits-of-containers/</guid><description>&lt;h1&gt;What Are Containers?&lt;/h1&gt;&#10;&lt;p&gt;Containers are a form of operating system virtualization. A single container might be used to run anything from a small microservice or software process to a larger application. Inside a container are all the necessary executables, binary code, libraries, and configuration files. Compared to server or machine virtualization approaches, however, containers do not contain operating system images. This makes them more lightweight and portable, with significantly less overhead. In larger application deployments, multiple containers may be deployed as one or more container clusters. Such clusters might be managed by a container orchestrator such as Kubernetes.&lt;/p&gt;</description></item><item><title>API Gateway in ASP.NET Core</title><link>https://bryanavery.co.uk/api-gateway-in-asp-net-core/</link><pubDate>Wed, 12 Feb 2020 16:21:50 +0000</pubDate><guid>https://bryanavery.co.uk/api-gateway-in-asp-net-core/</guid><description>&lt;p&gt;Working with a good technical architecture you’ll soon need to work with an API Gateway. There are many industrial solutions for large scale system giving full control and logging, such as &lt;a href="https://cloud.google.com/apigee/api-management"&gt;Apigee&lt;/a&gt; or &lt;a href="https://www.softwareag.com/corporate/products/api/api_gateway/default.html"&gt;Software AG&lt;/a&gt;, but these, of course, cost a business&lt;/p&gt;</description></item><item><title>Event Bus Working Sample</title><link>https://bryanavery.co.uk/event-bus-working-sample/</link><pubDate>Wed, 12 Feb 2020 14:24:46 +0000</pubDate><guid>https://bryanavery.co.uk/event-bus-working-sample/</guid><description>&lt;p&gt;This article will show how to use an Event Bus using RabbitMQ using Work Queues that will be used to distribute time-consuming tasks among multiple workers.&lt;/p&gt;&#10;&lt;span id="more-1296"&gt;&lt;/span&gt;&#10;&lt;p&gt;Getting started with an Event Bus is fast and easy. This quick start guide uses RabbitMQ with .NET Core. RabbitMQ must be installed, instructions for &lt;a href="https://www.rabbitmq.com/download.html"&gt;installing RabbitMQ are included here&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>NET Microservices Architecture for Containerised NET Applications</title><link>https://bryanavery.co.uk/net-microservices-architecture-for-containerised-net-applications/</link><pubDate>Wed, 12 Feb 2020 13:38:25 +0000</pubDate><guid>https://bryanavery.co.uk/net-microservices-architecture-for-containerised-net-applications/</guid><description>&lt;p&gt;I came across this guide as it is an introduction to developing microservices-based applications and managing them using containers. It discusses architectural design and implementation approaches using .NET Core and Docker containers. To make it easier to get started with containers and microservices, the guide focuses on a reference containerized and microservice-based application that you can explore. The sample application is available at the &lt;a href="https://github.com/dotnet-architecture/eShopOnContainers"&gt;eShopOnContainers&lt;/a&gt; GitHub repo. &lt;/p&gt;</description></item><item><title>event bus interface</title><link>https://bryanavery.co.uk/event-bus-interface/</link><pubDate>Wed, 12 Feb 2020 13:09:40 +0000</pubDate><guid>https://bryanavery.co.uk/event-bus-interface/</guid><description>&lt;p&gt;How do you achieve anonymity between publisher and subscriber? An easy way is to let a middleman take care of all the communication. An event bus is one such middleman.&lt;/p&gt;&#10;&lt;span id="more-1300"&gt;&lt;/span&gt;&#10;&lt;p&gt;An event bus is typically composed of two parts:&lt;/p&gt;</description></item><item><title>The Microsoft Azure Service Bus</title><link>https://bryanavery.co.uk/the-microsoft-azure-service-bus/</link><pubDate>Tue, 11 Feb 2020 08:33:47 +0000</pubDate><guid>https://bryanavery.co.uk/the-microsoft-azure-service-bus/</guid><description>&lt;p&gt;I’m going to take a high-level overview of the Microsoft Azure Service Bus. I’ll discuss briefly the four services that make up the Service Bus. &lt;/p&gt;&#10;&lt;span id="more-1274"&gt;&lt;/span&gt;&#10;&lt;p&gt;The essence of application integration is software talking to other software. But how should this communication happen? Sometimes, a direct call via API Management is perfect. In other cases, though,&lt;br/&gt; this synchronous style of communication won’t work. What if both applications aren’t available at the same time, for instance? For situations like this, an asynchronous approach is required.&lt;/p&gt;</description></item><item><title>Claim-Check Pattern</title><link>https://bryanavery.co.uk/claim-check-pattern/</link><pubDate>Thu, 30 Jan 2020 15:59:25 +0000</pubDate><guid>https://bryanavery.co.uk/claim-check-pattern/</guid><description>&lt;p&gt;I’ve been using an Event Bus for some time now in the designs of a system, for reason of performance and scalability. There is also an issue with the message size. But it would be best if you were using the Event Bus as a messaging system, not a data transport mechanism.&lt;/p&gt;</description></item><item><title>Designing APIs</title><link>https://bryanavery.co.uk/designing-apis/</link><pubDate>Wed, 29 Jan 2020 08:02:26 +0000</pubDate><guid>https://bryanavery.co.uk/designing-apis/</guid><description>&lt;p&gt;A good API design is important in a system architecture because all data exchange between services happens either through messages or API calls. APIs must be efficient to avoid creating &lt;a href="https://docs.microsoft.com/en-gb/azure/architecture/antipatterns/chatty-io/"&gt;chatty I/O&lt;/a&gt;. Because services are designed by teams working independently, APIs must have well-defined semantics and versioning schemes, so that updates don’t break other services.&lt;/p&gt;</description></item><item><title>Kubernetes</title><link>https://bryanavery.co.uk/kubernetes/</link><pubDate>Mon, 27 Jan 2020 13:20:10 +0000</pubDate><guid>https://bryanavery.co.uk/kubernetes/</guid><description>&lt;h2&gt;Next-Generation Application Development &lt;/h2&gt;&#10;&lt;p&gt;The world of IT infrastructure has evolved dramatically since the days of relying solely on bare metal hardware to support application development. In the early 2000s, a company called VMWare broke the mould, giving rise to virtualization — using an abstraction that makes software (virtual machines) look and behave like hardware. The primary difference between virtualization and bare metal is the inherent benefit of using software to “virtualize” infrastructure. Virtualization offers increased flexibility, scalability, reliability, and often overall capability and performance, all while lowering capital and operational expenses. &lt;/p&gt;</description></item><item><title>WebSocket Security Issues</title><link>https://bryanavery.co.uk/websocket-security-issues/</link><pubDate>Fri, 24 Jan 2020 11:22:05 +0000</pubDate><guid>https://bryanavery.co.uk/websocket-security-issues/</guid><description>&lt;p&gt;Places I have been working they have banded the use of WebSockets to pushing data to the end-user, or devices. I want to delve into the concept of WebSocket introduced in HTML 5, security issues around the WebSocket model, and the best practices that should be adopted to address security issues around WebSocket. &lt;/p&gt;</description></item><item><title>Push Notifications</title><link>https://bryanavery.co.uk/push-notifications/</link><pubDate>Fri, 24 Jan 2020 11:02:41 +0000</pubDate><guid>https://bryanavery.co.uk/push-notifications/</guid><description>&lt;h2 id="what_are_push_notifications"&gt;What are Push Notifications?&lt;/h2&gt;&#10;&lt;p&gt;A notification is a message that pops up on the user’s device. Notifications can be triggered locally by an open application, or they can be “pushed” from the server to the user even when the app is not running. They allow your users to opt-in to timely updates and allow you to effectively re-engage users with customised content.&lt;/p&gt;</description></item><item><title>What is Event-Driven Microservice Architecture?</title><link>https://bryanavery.co.uk/what-is-event-driven-microservice-architecture/</link><pubDate>Fri, 24 Jan 2020 08:53:35 +0000</pubDate><guid>https://bryanavery.co.uk/what-is-event-driven-microservice-architecture/</guid><description>&lt;p&gt;In an event-driven architecture, when a service performs some piece of work that other services might be interested in, that service produces an &lt;em&gt;event&lt;/em&gt;—a record of the completed action. Other services consume those events so that they can perform any of their tasks needed as a result of the event. Unlike with REST, services that create requests do not need to know the details of the services consuming the requests. Here’s a simple example: When an order is placed on an e-commerce site, a single “order placed” event is produced and then consumed by several microservices:&lt;/p&gt;</description></item><item><title>Decentralised Data Management</title><link>https://bryanavery.co.uk/decentralized-data-management/</link><pubDate>Thu, 23 Jan 2020 09:43:00 +0000</pubDate><guid>https://bryanavery.co.uk/decentralized-data-management/</guid><description>&lt;p&gt;&lt;strong&gt; &lt;em&gt;(Avoid shared databases)&lt;/em&gt;. &lt;/strong&gt;When multiple services consume a shared data schema, it can create tight coupling at the data layer. To avoid tight coupling, each service should have its data access logic and separate data store. The development team is free to pick the data persistence method which best fit each service and nature of data.&lt;/p&gt;</description></item><item><title>Microservices Best Practices</title><link>https://bryanavery.co.uk/microservices-best-practices/</link><pubDate>Mon, 20 Jan 2020 13:11:55 +0000</pubDate><guid>https://bryanavery.co.uk/microservices-best-practices/</guid><description>&lt;h2&gt;API Gateway&lt;/h2&gt;&#10;&lt;p&gt;API Gateway acts as a &lt;strong&gt;single entry point for all clients&lt;/strong&gt; with a more critical role as an &lt;strong&gt;edge service for exposing microservices to the outside world as managed APIs&lt;/strong&gt;. It sounds like a reverse proxy, but also has additional responsibilities like &lt;strong&gt;simple load-balancing, authentication &amp;amp; authorization, failure handling, auditing, protocol translations,&lt;/strong&gt; and&lt;strong&gt; routing&lt;/strong&gt;. There are several ways in which the API Gateway can be deployed from a development perspective.&lt;/p&gt;</description></item><item><title>Microservices</title><link>https://bryanavery.co.uk/microservices/</link><pubDate>Mon, 20 Jan 2020 08:18:45 +0000</pubDate><guid>https://bryanavery.co.uk/microservices/</guid><description>&lt;p&gt;&lt;em&gt;Microservices&lt;/em&gt; is a trending topic among software engineers today, why is this? In this post, I’ll endeavour to take the mystery and explain things in plain English so you can build genuinely modular, business agile IT systems with Microservices architectural style.&lt;/p&gt;</description></item><item><title>Docker – Basic Concepts, Components and Advantages</title><link>https://bryanavery.co.uk/docker-basic-concepts-components-and-advantages/</link><pubDate>Sat, 11 Jan 2020 11:33:00 +0000</pubDate><guid>https://bryanavery.co.uk/docker-basic-concepts-components-and-advantages/</guid><description>&lt;p&gt;Docker’s containers allow for the immense economy of scale and have made development scalable, while at the same time keeping the process user-friendly.&lt;/p&gt;&#10;&lt;p&gt;Let’s get to work and see what it is all about, we’ll go over the following:&lt;/p&gt;</description></item><item><title>Docker Containers</title><link>https://bryanavery.co.uk/docker-containers/</link><pubDate>Sat, 11 Jan 2020 11:00:00 +0000</pubDate><guid>https://bryanavery.co.uk/docker-containers/</guid><description>&lt;p&gt;What is Docker? It is a hot topic in cloud computing, one that people are finding ample job opportunities with skills in it. But what is Docker used for?&lt;/p&gt;&#10;&lt;span id="more-1283"&gt;&lt;/span&gt;&#10;&lt;h2&gt;What is Docker?&lt;/h2&gt;&#10;&lt;p&gt;Docker is an open-source technology used mostly for developing, shipping and running applications. With it, you can isolate applications from their underlying infrastructure so that software delivery is faster than ever. Docker’s main benefit is to package applications in “containers,” so they’re portable for any system running the Linux operating system (OS) or Windows OS. Though container technology has been around for a while, the hype around Docker’s approach to containers has moved this approach to the mainstream as one of the most popular forms of container technology. &lt;/p&gt;</description></item><item><title>High-performance JSON API</title><link>https://bryanavery.co.uk/high-performance-json-api/</link><pubDate>Fri, 27 Sep 2019 13:24:28 +0000</pubDate><guid>https://bryanavery.co.uk/high-performance-json-api/</guid><description>&lt;h3&gt;Raw System.Text.Json&lt;/h3&gt;&#10;&lt;p&gt;.NET Core 3.0, has shipped with the new &lt;code&gt;System.Text.Json&lt;/code&gt; APIs, which provides built-in support for JSON, including reader/writer, read-only DOM, and serializer/deserializer. With the performance, the main improvement to the methods, check and see the typical speedups of up to 2x over Json.NET.&lt;/p&gt;</description></item><item><title>Async Streams</title><link>https://bryanavery.co.uk/async-streams/</link><pubDate>Fri, 27 Sep 2019 11:20:05 +0000</pubDate><guid>https://bryanavery.co.uk/async-streams/</guid><description>&lt;p&gt;The new feature Async Streams in C# has removed the scalar result limitation and allows the async method to returns multiple results.&lt;/p&gt;&#10;&lt;p&gt;This change makes the async pattern more flexible so that you can retrieve data in lazy asynchronous sequence from a database or you can download data from an asynchronous sequence that returns the data in chunks when they become available.  &lt;/p&gt;</description></item><item><title>Cross-Site Request Forgery (CSRF)</title><link>https://bryanavery.co.uk/cross-site-request-forgery-csrf/</link><pubDate>Fri, 20 Sep 2019 10:16:13 +0000</pubDate><guid>https://bryanavery.co.uk/cross-site-request-forgery-csrf/</guid><description>&lt;div class="page" title="Page 8"&gt;&#10;&lt;div class="layoutArea"&gt;&#10;&lt;div class="column"&gt;&#10;&lt;h2&gt;Description&lt;/h2&gt;&#10;&lt;p&gt;It is possible to trick a user into executing potentially dangerous actions against the target site due to a lack of Cross- Site-Request-Forgery (CSRF) protections. CSRF attacks are a class of confused deputy attacks that exploit the behaviour of browsers always sending authorization cookies in requests. The target site has no secure way of verifying the request was initiated from a link on a trusted domain.&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;</description></item><item><title>Improper Certificate Validation</title><link>https://bryanavery.co.uk/improper-certificate-validation/</link><pubDate>Fri, 20 Sep 2019 10:10:51 +0000</pubDate><guid>https://bryanavery.co.uk/improper-certificate-validation/</guid><description>&lt;div class="page" title="Page 9"&gt;&#10;&lt;div class="layoutArea"&gt;&#10;&lt;div class="column"&gt;&#10;&lt;h2&gt;Description&lt;/h2&gt;&#10;&lt;p&gt;The SSL Certificate Details provide information about the certificate associated with the HTTPS server. This information describes important attributes of the certificate and should be reviewed for the correctness of the contact information, whether it is self-signed, and how soon it will expire. The Supported Ciphers provides information about each available encryption scheme available for each of the possible SSL/TLS protocols.&lt;/p&gt;&#10;&lt;div class="page" title="Page 9"&gt;&#10;&lt;div class="layoutArea"&gt;&#10;&lt;div class="column"&gt;&#10;&lt;h2&gt;Recommendations&lt;/h2&gt;&#10;&lt;p&gt;The expiration date for certificates should be monitored. New certificates should be available before the expiration date in order to maintain continuity of service and avoid downtime or displaying certificate expiration errors in users’ web browsers.&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;</description></item><item><title>Server-Side Request Forgery (SSRF)</title><link>https://bryanavery.co.uk/server-side-request-forgery-ssrf/</link><pubDate>Thu, 19 Sep 2019 15:12:07 +0000</pubDate><guid>https://bryanavery.co.uk/server-side-request-forgery-ssrf/</guid><description>&lt;div class="page" title="Page 9"&gt;&#10;&lt;div class="layoutArea"&gt;&#10;&lt;div class="column"&gt;&#10;&lt;h2&gt;Description&lt;/h2&gt;&#10;&lt;p&gt;“Server Side Request Forgery” (a.k.a. SSRF) is a class of web-application vulnerability in which an attacker can cause a website to access unintended server-side resources, including the unauthorized reading, writing, or execution of server resources.&lt;/p&gt;&#10;&lt;p&gt;Web-applications designed to pass URLs (references to server accessible content) or portions thereof, from the client browser to the application server using HTTP request parameters or HTTP request headers, are at risk for Server Side Request Forgery exploitation unless they protect against it.&lt;/p&gt;&#10;&lt;p&gt;Server-side Request Forgery (SSRF) is related to another type of vulnerability called Open Redirects in the sense that they both rely on untrusted input to reference other web-resources.&lt;/p&gt;&#10;&lt;p&gt;Strategies for avoiding and/or fixing Server-Side Request Forgery include:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;Design around it&lt;/strong&gt;: Unless there is a reason why URL information must be passed, avoid the problem entirely by implementing an alternative design.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Validation&lt;/strong&gt;: When a URL value is received by the application, it must be white-list validated against the domain of possible legitimate values and rejected if it is not a member.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Indirect References&lt;/strong&gt;: In some cases, it may be possible to pass a (cryptographically strong) random value that represents the target URL and maintain a token: URL mapping on the server.  Since URLs are never passed and the tokens are (practically) un-guessable, the vulnerability is eliminated.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;If URI is hard-coded, then the attacker cannot influence where the request is going, so it would look to be a false positive. However, although some scanning software is known for false positives, you need to be careful, as most scanning software are correct in their analysis. You need to check the whole source-to-sink trace that scanning software provides? If it is reporting only that one line as the source and sink, then yes it is a false positive.&lt;/p&gt;&#10;&lt;p&gt;Useful links:&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="https://www.owasp.org/index.php/Server_Side_Request_Forgery" rel="noopener" target="_blank"&gt;https://www.owasp.org/index.php/Server_Side_Request_Forgery&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt; &lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;</description></item><item><title>Improper Neutralization of CRLF Sequences in HTTP Headers</title><link>https://bryanavery.co.uk/improper-neutralization-of-crlf-sequences-in-http-headers/</link><pubDate>Thu, 19 Sep 2019 12:40:30 +0000</pubDate><guid>https://bryanavery.co.uk/improper-neutralization-of-crlf-sequences-in-http-headers/</guid><description>&lt;div class="page" title="Page 7"&gt;&#10;&lt;div class="layoutArea"&gt;&#10;&lt;div class="column"&gt;&#10;&lt;h2&gt;Description&lt;/h2&gt;&#10;&lt;p&gt;A function call contains an HTTP response splitting flaw. Writing untrusted input into an HTTP header allows an attacker to manipulate the HTTP response rendered by the browser, leading to cache poisoning and cross-site scripting attacks.&lt;/p&gt;&#10;&lt;div class="page" title="Page 7"&gt;&#10;&lt;div class="layoutArea"&gt;&#10;&lt;div class="column"&gt;&#10;&lt;h2&gt;Recommendations&lt;/h2&gt;&#10;&lt;p&gt;Remove unexpected carriage returns and line feeds from untrusted data used to construct an HTTP response. Always validate untrusted input to ensure that it conforms to the expected format, using centralized data validation routines when possible.&lt;/p&gt;&#10;&lt;p&gt;A simple string extension can resolve this issue:&lt;/p&gt;&#10;&lt;pre class="p1"&gt;public static string&lt;span class="s1"&gt; CRLFRemoval(&lt;/span&gt;this string&lt;span class="s1"&gt; token)&lt;/span&gt;&#10;&lt;p&gt;{&lt;/p&gt;&#10;&lt;p&gt;&lt;span class="Apple-converted-space"&gt;    &lt;/span&gt;&lt;span class="s2"&gt;return&lt;/span&gt; token.Replace(&lt;span class="s3"&gt;&amp;quot;%0d&amp;quot;&lt;/span&gt;, &lt;span class="s2"&gt;string&lt;/span&gt;.Empty, StringComparison.InvariantCultureIgnoreCase)&lt;/p&gt;&#10;&lt;p&gt;&lt;span class="Apple-converted-space"&gt;                &lt;/span&gt;.Replace(&lt;span class="s3"&gt;&amp;quot;%0D&amp;quot;&lt;/span&gt;, &lt;span class="s2"&gt;string&lt;/span&gt;.Empty, StringComparison.InvariantCultureIgnoreCase)&lt;/p&gt;&#10;&lt;p&gt;&lt;span class="Apple-converted-space"&gt;                &lt;/span&gt;.Replace(&lt;span class="s3"&gt;&amp;quot;\r&amp;quot;&lt;/span&gt;, &lt;span class="s2"&gt;string&lt;/span&gt;.Empty)&lt;/p&gt;&#10;&lt;p&gt;&lt;span class="Apple-converted-space"&gt;                &lt;/span&gt;.Replace(&lt;span class="s3"&gt;&amp;quot;\n&amp;quot;&lt;/span&gt;, &lt;span class="s2"&gt;string&lt;/span&gt;.Empty)&lt;/p&gt;&#10;&lt;p&gt;&lt;span class="Apple-converted-space"&gt;                &lt;/span&gt;.Replace(&lt;span class="s3"&gt;&amp;quot;%0a&amp;quot;&lt;/span&gt;, &lt;span class="s2"&gt;string&lt;/span&gt;.Empty, StringComparison.InvariantCultureIgnoreCase)&lt;/p&gt;&#10;&lt;p&gt;&lt;span class="Apple-converted-space"&gt;                &lt;/span&gt;.Replace(&lt;span class="s3"&gt;&amp;quot;%0A&amp;quot;&lt;/span&gt;, &lt;span class="s2"&gt;string&lt;/span&gt;.Empty, StringComparison.InvariantCultureIgnoreCase);&lt;/p&gt;&#10;&lt;p&gt;}&lt;/pre&gt;&lt;/p&gt;&#10;&lt;p&gt;Links for reference:&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="https://en.wikipedia.org/wiki/HTTP_response_splitting" rel="noopener" target="_blank"&gt;https://en.wikipedia.org/wiki/HTTP_response_splitting&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="https://securiteam.com/securityreviews/5WP0E2KFGK" rel="noopener" target="_blank"&gt;https://securiteam.com/securityreviews/5WP0E2KFGK&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="https://www.owasp.org/index.php?title=Testing_for_HTTP_Splitting/Smuggling_(OTG-INPVAL-017)" rel="noopener" target="_blank"&gt;https://www.owasp.org/index.php?title=Testing_for_HTTP_Splitting/Smuggling_(OTG-INPVAL-017)&lt;/a&gt;&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;</description></item><item><title>ASP.NET Core – MongoDB Repository Pattern &amp; Unit Of Work</title><link>https://bryanavery.co.uk/asp-net-core-mongodb-repository-pattern-unit-of-work/</link><pubDate>Thu, 11 Apr 2019 14:19:01 +0000</pubDate><guid>https://bryanavery.co.uk/asp-net-core-mongodb-repository-pattern-unit-of-work/</guid><description>&lt;p&gt;The implementation of generic repositories and Unit Of Work are complex tasks in MongoDB. The lack of mechanisms in the component hinders its adoption. See how to implement this article.&lt;/p&gt;&#10;&lt;h2&gt;Unit of Work&lt;/h2&gt;&#10;&lt;p&gt;Unit Of Work is a standard used to group one or more operations (usually database operations) into a single transaction or “unit of work”, so that all operations are approved or disapproved as one.&lt;/p&gt;</description></item><item><title>DONE – when done means DONE</title><link>https://bryanavery.co.uk/done-when-done-means-done/</link><pubDate>Thu, 11 Apr 2019 12:40:03 +0000</pubDate><guid>https://bryanavery.co.uk/done-when-done-means-done/</guid><description>&lt;p&gt;When is something done?  What does DONE mean?&lt;/p&gt;&#10;&lt;p&gt;In the teams of software development, here is a definition that can apply to this process:&lt;/p&gt;&#10;&lt;h2&gt;Definition of Done&lt;/h2&gt;&#10;&lt;p&gt;The meaning of done is an agreed upon list of the activities necessary to get product increment to a production ready state.&lt;/p&gt;</description></item><item><title>Multi-Tenancy</title><link>https://bryanavery.co.uk/multi-tenancy/</link><pubDate>Wed, 20 Feb 2019 15:24:00 +0000</pubDate><guid>https://bryanavery.co.uk/multi-tenancy/</guid><description>&lt;h3 id="what-is-multi-tenancy-"&gt;What Is Multi-Tenancy?&lt;/h3&gt;&#10;&lt;p&gt;“&lt;em&gt;Software&lt;/em&gt; &lt;strong&gt;&lt;em&gt;Multitenancy&lt;/em&gt;&lt;/strong&gt; &lt;em&gt;refers to a software&lt;/em&gt; &lt;strong&gt;&lt;em&gt;architecture&lt;/em&gt;&lt;/strong&gt; &lt;em&gt;in which a&lt;/em&gt; &lt;strong&gt;&lt;em&gt;single instance&lt;/em&gt;&lt;/strong&gt; &lt;em&gt;of a software runs on a server and serves &lt;strong&gt;&lt;em&gt;multiple tenants&lt;/em&gt;&lt;/strong&gt;. A tenant is a group of users who share common access with specific privileges to the software instance. With a multitenant architecture, a software application is designed to provide every tenant a &lt;strong&gt;&lt;em&gt;dedicated share of the instance including its data&lt;/em&gt;&lt;/strong&gt;, configuration, user management, tenant individual functionality and non-functional properties. Multitenancy contrasts with multi-instance architectures, where separate software instances operate on behalf of different tenants&lt;/em&gt;” (&lt;a href="https://en.wikipedia.org/wiki/Multitenancy"&gt;Wikipedia&lt;/a&gt;)&lt;/p&gt;</description></item><item><title>How to export all tables to csv by one export job</title><link>https://bryanavery.co.uk/how-to-export-all-tables-to-csv-by-one-export-job/</link><pubDate>Wed, 16 Jan 2019 10:22:13 +0000</pubDate><guid>https://bryanavery.co.uk/how-to-export-all-tables-to-csv-by-one-export-job/</guid><description>&lt;p&gt;If you just want to export all the tables in a SQL database in to separate CSV files, then this is a quick and easy way of doing it.&lt;/p&gt;&#10;&lt;ol&gt;&#10;&lt;li style="font-weight: 400;"&gt;&lt;span style="font-weight: 400;"&gt;Execute below query which generates BCP commands&lt;/span&gt;&lt;span style="font-weight: 400;"&gt;&lt;br/&gt;&#10;&lt;/span&gt;&lt;span style="font-weight: 400;"&gt;&lt;br/&gt;&#10;&lt;/span&gt;&lt;span style="font-weight: 400;"&gt;SELECT ‘bcp ‘ + st.NAME + ‘ out c:\Target\’ + st.NAME + ‘.csv -c -r -d ‘ + DB_NAME() + ‘ -U user@??????.database.windows.net -S tcp:?????.database.windows.net -P ?????? &lt;/span&gt;&lt;span style="font-weight: 400;"&gt;FROM sys.tables st&lt;/span&gt;&lt;/li&gt;&#10;&lt;li style="font-weight: 400;"&gt;&lt;span style="font-weight: 400;"&gt;Paste the result set into text file. Make batch file and schedule it. (It can also be run in CMD manually)&lt;/span&gt;&lt;/li&gt;&#10;&lt;/ol&gt;&#10;&lt;p&gt; &lt;/p&gt;</description></item><item><title>How to configure remote debugging for Web Apps &amp; Visual Studio 2017</title><link>https://bryanavery.co.uk/how-to-configure-remote-debugging-for-web-apps-visual-studio-2017/</link><pubDate>Wed, 28 Nov 2018 14:35:38 +0000</pubDate><guid>https://bryanavery.co.uk/how-to-configure-remote-debugging-for-web-apps-visual-studio-2017/</guid><description>&lt;p&gt;A nice short video showing how to debug a web service in Microsoft Azure&lt;/p&gt;&#10;&lt;p&gt;&lt;iframe allowfullscreen="allowfullscreen" frameborder="0" height="315" src="https://www.youtube.com/embed/2-Dt8521Ixk" width="560"&gt;&lt;/iframe&gt;&lt;/p&gt;</description></item><item><title>The best GIT GUI</title><link>https://bryanavery.co.uk/the-best-git-gui/</link><pubDate>Mon, 26 Nov 2018 14:13:49 +0000</pubDate><guid>https://bryanavery.co.uk/the-best-git-gui/</guid><description>&lt;p&gt;I have tried a number of Git GUI’s and the best by far has to the Source Tree&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="https://www.sourcetreeapp.com/" rel="noopener" target="_blank"&gt;https://www.sourcetreeapp.com/&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;Why?    It’s just so easy to use and displays what you need when you need it.&lt;/p&gt;</description></item><item><title>HTTP Status Codes</title><link>https://bryanavery.co.uk/http-status-codes/</link><pubDate>Fri, 02 Nov 2018 09:11:24 +0000</pubDate><guid>https://bryanavery.co.uk/http-status-codes/</guid><description>&lt;p&gt;It is important that when writing RESTful API’s that the correct HTTP status code is returned, the best and only source of reference has to be: &lt;a href="https://httpstatuses.com/" rel="noopener" target="_blank"&gt;https://httpstatuses.com/&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span id="more-1126"&gt;&lt;/span&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&#10;&lt;h2&gt;1×× Informational&lt;/h2&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/100"&gt;100 Continue&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/101"&gt;101 Switching Protocols&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/102"&gt;102 Processing&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&#10;&lt;h2&gt;2×× Success&lt;/h2&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/200"&gt;200 OK&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/201"&gt;201 Created&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/202"&gt;202 Accepted&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/203"&gt;203 Non-authoritative Information&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/204"&gt;204 No Content&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/205"&gt;205 Reset Content&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/206"&gt;206 Partial Content&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/207"&gt;207 Multi-Status&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/208"&gt;208 Already Reported&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/226"&gt;226 IM Used&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&#10;&lt;h2&gt;3×× Redirection&lt;/h2&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/300"&gt;300 Multiple Choices&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/301"&gt;301 Moved Permanently&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/302"&gt;302 Found&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/303"&gt;303 See Other&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/304"&gt;304 Not Modified&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/305"&gt;305 Use Proxy&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/307"&gt;307 Temporary Redirect&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/308"&gt;308 Permanent Redirect&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&#10;&lt;h2&gt;4×× Client Error&lt;/h2&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/400"&gt;400 Bad Request&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/401"&gt;401 Unauthorized&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/402"&gt;402 Payment Required&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/403"&gt;403 Forbidden&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/404"&gt;404 Not Found&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/405"&gt;405 Method Not Allowed&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/406"&gt;406 Not Acceptable&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/407"&gt;407 Proxy Authentication Required&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/408"&gt;408 Request Timeout&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/409"&gt;409 Conflict&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/410"&gt;410 Gone&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/411"&gt;411 Length Required&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/412"&gt;412 Precondition Failed&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/413"&gt;413 Payload Too Large&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/414"&gt;414 Request-URI Too Long&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/415"&gt;415 Unsupported Media Type&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/416"&gt;416 Requested Range Not Satisfiable&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/417"&gt;417 Expectation Failed&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/418"&gt;418 I’m a teapot&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/421"&gt;421 Misdirected Request&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/422"&gt;422 Unprocessable Entity&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/423"&gt;423 Locked&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/424"&gt;424 Failed Dependency&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/426"&gt;426 Upgrade Required&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/428"&gt;428 Precondition Required&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/429"&gt;429 Too Many Requests&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/431"&gt;431 Request Header Fields Too Large&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/444"&gt;444 Connection Closed Without Response&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/451"&gt;451 Unavailable For Legal Reasons&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/499"&gt;499 Client Closed Request&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&#10;&lt;h2&gt;5×× Server Error&lt;/h2&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/500"&gt;500 Internal Server Error&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/501"&gt;501 Not Implemented&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/502"&gt;502 Bad Gateway&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/503"&gt;503 Service Unavailable&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/504"&gt;504 Gateway Timeout&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/505"&gt;505 HTTP Version Not Supported&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/506"&gt;506 Variant Also Negotiates&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/507"&gt;507 Insufficient Storage&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/508"&gt;508 Loop Detected&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/510"&gt;510 Not Extended&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/511"&gt;511 Network Authentication Required&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://httpstatuses.com/599"&gt;599 Network Connect Timeout Error&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;</description></item><item><title>Swagger UI reading YAML file</title><link>https://bryanavery.co.uk/swagger-ui-reading-yaml-file/</link><pubDate>Wed, 17 Oct 2018 11:30:44 +0000</pubDate><guid>https://bryanavery.co.uk/swagger-ui-reading-yaml-file/</guid><description>&lt;p&gt;You’ve been playing with Swagger and can now see the benefits, and you are planning to use a YAML file, now you would like to display it to the outside work, here is a short article explaining all that is required.  This is based on you using Express within Node.js&lt;/p&gt;</description></item><item><title>Edit your Swagger YAML</title><link>https://bryanavery.co.uk/edit-your-swagger-yaml/</link><pubDate>Wed, 17 Oct 2018 10:17:15 +0000</pubDate><guid>https://bryanavery.co.uk/edit-your-swagger-yaml/</guid><description>&lt;p&gt;Once you have installed swagger into your application, using this command:&lt;/p&gt;&#10;&lt;pre&gt;npm install -g swagger&lt;/pre&gt;&#10;&lt;p&gt;To edit you active YAML file just type to following:&lt;/p&gt;&#10;&lt;pre&gt;swagger project edit&lt;/pre&gt;</description></item><item><title>Swagger</title><link>https://bryanavery.co.uk/swagger/</link><pubDate>Wed, 17 Oct 2018 09:51:01 +0000</pubDate><guid>https://bryanavery.co.uk/swagger/</guid><description>&lt;h4 class="graf graf--h4 graf-after--p" id="916b"&gt;What is Swagger?&lt;/h4&gt;&#10;&lt;p class="graf graf--p graf-after--h4" id="401f"&gt;On the &lt;em class="markup--em markup--p-em"&gt;Swagger&lt;/em&gt; site we can find the definition of &lt;em class="markup--em markup--p-em"&gt;Swagger&lt;/em&gt;:&lt;/p&gt;&#10;&lt;blockquote class="graf graf--blockquote graf-after--p" id="1908"&gt;&lt;p&gt;Swagger is the world’s largest framework of API developer tools for the OpenAPI Specification(OAS), enabling development across the entire API lifecycle, from design and documentation, to test and deployment.&lt;/p&gt;&lt;/blockquote&gt;</description></item><item><title>Debugging Node.js with Typescript</title><link>https://bryanavery.co.uk/debugging-node-js-with-typescript/</link><pubDate>Tue, 16 Oct 2018 12:14:28 +0000</pubDate><guid>https://bryanavery.co.uk/debugging-node-js-with-typescript/</guid><description>&lt;p&gt;no need for me to explain what to do when Microsoft already has a very good article on debugging within Visual Studio Code&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="https://code.visualstudio.com/docs/editor/debugging" rel="noopener" target="_blank"&gt;https://code.visualstudio.com/docs/editor/debugging&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Node.js with Microsoft TypeScript</title><link>https://bryanavery.co.uk/node-js-with-microsoft-typescript/</link><pubDate>Tue, 16 Oct 2018 10:48:51 +0000</pubDate><guid>https://bryanavery.co.uk/node-js-with-microsoft-typescript/</guid><description>&lt;p&gt;Before we start let’s just ask a few questions:&lt;/p&gt;&#10;&lt;h2&gt;Why Typescript?&lt;/h2&gt;&#10;&lt;p class="comments-section"&gt;There are two main goals of TypeScript:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li style="list-style-type: none;"&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Provide an &lt;em&gt;optional type system&lt;/em&gt; for JavaScript.&lt;/li&gt;&#10;&lt;li&gt;Provide planned features from future JavaScript editions to current JavaScript engines&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;span id="more-1091"&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>RESTfull API using node.js and express.js</title><link>https://bryanavery.co.uk/restfull-api-using-node-js-and-express-js/</link><pubDate>Tue, 16 Oct 2018 08:59:21 +0000</pubDate><guid>https://bryanavery.co.uk/restfull-api-using-node-js-and-express-js/</guid><description>&lt;p&gt;Here is a short article to provide a simple RESTful API using node.js.&lt;span id="more-1087"&gt;&lt;/span&gt;&lt;/p&gt;&#10;&lt;h2&gt;Why use node.js?&lt;/h2&gt;&#10;&lt;p&gt;node.js is super fast and handles asynchronous without having to think about coding, it is javascript based and runs on such a small footprint that it is just the way things should be.&lt;/p&gt;</description></item><item><title>How to handle rejection from a Promise</title><link>https://bryanavery.co.uk/how-to-handle-rejection-from-a-promise/</link><pubDate>Mon, 15 Oct 2018 12:18:46 +0000</pubDate><guid>https://bryanavery.co.uk/how-to-handle-rejection-from-a-promise/</guid><description>&lt;p&gt;A clear rejection is always better than a fake promise, so when dealing with Promises in Node.JS consider the rejection aspect of the promise.&lt;br/&gt;&#10;&lt;span id="more-1077"&gt;&lt;/span&gt;&lt;br/&gt;&#10;It is quite easy to handle, I prefer the Async method of handing promises, as it is much easier to read and understand.&lt;/p&gt;</description></item><item><title>Being true to a Promise in Node.js</title><link>https://bryanavery.co.uk/being-true-to-a-promise-in-node-js/</link><pubDate>Mon, 15 Oct 2018 09:59:48 +0000</pubDate><guid>https://bryanavery.co.uk/being-true-to-a-promise-in-node-js/</guid><description>&lt;p&gt;With Node.js you have the ability to make promises, but what is a promise?&lt;/p&gt;&#10;&lt;p&gt;Here is a definition of a node.js promise&lt;/p&gt;&#10;&lt;p&gt;&lt;em&gt;‘A promise is an abstraction for asynchronous programming. It’s an object that proxies for the return value or the exception thrown by a function that has to do some asynchronous processing’&lt;/em&gt;&lt;/p&gt;</description></item><item><title>Useful links for Node.js</title><link>https://bryanavery.co.uk/useful-links-for-node-js/</link><pubDate>Mon, 15 Oct 2018 08:30:44 +0000</pubDate><guid>https://bryanavery.co.uk/useful-links-for-node-js/</guid><description>&lt;p&gt;Node.js is a very powerful platform for building server-based applications.&lt;/p&gt;&#10;&lt;p&gt;I have put together a list of very useful links which help with building and working with Node.js&lt;br/&gt;&#10;&lt;span id="more-1038"&gt;&lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;Download link for installing Node.js, or use &lt;a href="https://www.dyclassroom.com/howto-mac/how-to-install-nodejs-and-npm-on-mac-using-homebrew" rel="noopener" target="_blank"&gt;Homebrew&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Microsoft Message Queuing</title><link>https://bryanavery.co.uk/microsoft-message-queuing/</link><pubDate>Sun, 07 Oct 2018 06:23:34 +0000</pubDate><guid>https://bryanavery.co.uk/microsoft-message-queuing/</guid><description>&lt;p&gt;MSMQ (Microsoft Message Queuing) is a message queue that is available by default as part of Windows. A reliable way of sending and receiving messages across computer systems, MSMQ provides a queue that’s scalable, thread-safe, simple, and convenient to use while at the same time providing you with the opportunity to persist the messages inside the Windows database.&lt;span id="more-1021"&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>How to Async</title><link>https://bryanavery.co.uk/how-to-async/</link><pubDate>Tue, 04 Sep 2018 12:49:14 +0000</pubDate><guid>https://bryanavery.co.uk/how-to-async/</guid><description>&lt;p&gt;There are a number of best practices when it comes to Async what I’ll try and cover here are the “guidelines” than actual rules. There are exceptions to each of these guidelines. The guidelines are summarised in the table below.&lt;br/&gt;&#10;&lt;span id="more-1024"&gt;&lt;/span&gt;&lt;br/&gt;&#10;&lt;strong&gt;Summary of Asynchronous Programming Guidelines&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>How to handle Events between Applications</title><link>https://bryanavery.co.uk/how-to-handle-events-between-applications/</link><pubDate>Fri, 24 Aug 2018 06:16:25 +0000</pubDate><guid>https://bryanavery.co.uk/how-to-handle-events-between-applications/</guid><description>&lt;h2&gt;The problem?&lt;/h2&gt;&#10;&lt;p&gt;How can application A, handle events sent by an application B, and how to implements those events in B? Knowing that B has no idea of the existence of A.&lt;br/&gt;&#10;&lt;span id="more-1014"&gt;&lt;/span&gt;&lt;/p&gt;&#10;&lt;h2&gt;The MemoryMapped way&lt;/h2&gt;&#10;&lt;p&gt;The following example shows how it would work, with the restriction that both applications are using the same memory space. In real code, the &lt;code&gt;producer()&lt;/code&gt; method would be in a different application from the &lt;code&gt;consumer()&lt;/code&gt; method, but this serves to illustrate an implementation:&lt;/p&gt;</description></item><item><title>Story pointing</title><link>https://bryanavery.co.uk/story-pointing/</link><pubDate>Tue, 21 Aug 2018 08:14:03 +0000</pubDate><guid>https://bryanavery.co.uk/story-pointing/</guid><description>&lt;h2 id="Storypoints-Procedure&amp;amp;Rules"&gt;Procedure &amp;amp; Rules&lt;/h2&gt;&#10;&lt;p&gt;An important element of Scrum is to estimate the complexity of features in the product backlog. For the estimation process, we use a simplified Fibonacci sequence: &lt;strong&gt;0, 1, 2, 3, 5, 8, 13, 20, 40, 100.&lt;/strong&gt;&lt;br/&gt;&#10;&lt;span id="more-1010"&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Development Process Flow</title><link>https://bryanavery.co.uk/development-process-flow/</link><pubDate>Fri, 10 Aug 2018 06:51:32 +0000</pubDate><guid>https://bryanavery.co.uk/development-process-flow/</guid><description>&lt;p&gt;Your software team has a process that use to complete work. Normalizing that process–i.e., establishing it as a workflow–makes it structured and repeatable, which, in turn, makes it scalable. With your development team, you can take an iterative approach to workflow management because it helps you meet your goals faster and exemplifies your team culture.&lt;br/&gt;&#10;&lt;span id="more-996"&gt;&lt;/span&gt;&lt;br/&gt;&#10; &lt;/p&gt;</description></item><item><title>Break apart the connection string</title><link>https://bryanavery.co.uk/break-apart-the-connection-string/</link><pubDate>Tue, 31 Jul 2018 07:35:23 +0000</pubDate><guid>https://bryanavery.co.uk/break-apart-the-connection-string/</guid><description>&lt;p&gt;It is sometimes useful to know which database you are connected to, here is a simple method that pulls apart the connection string and provides you with the section you request.&lt;span id="more-992"&gt;&lt;/span&gt;&lt;/p&gt;&#10;&lt;pre&gt;private static string GetSection(string section)&#10;{&#10;var connectionString = string.Empty;&#10;&lt;p&gt;Configuration rootWebConfig = System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration(&amp;quot;/MyWebSiteRoot&amp;quot;);&#10;ConnectionStringSettings connString;&lt;/p&gt;&#10;&lt;p&gt;if (rootWebConfig.ConnectionStrings.ConnectionStrings.Count &amp;gt; 0)&#10;{&#10;connString = rootWebConfig.ConnectionStrings.ConnectionStrings[&amp;ldquo;Entities&amp;rdquo;];&#10;if (connString != null)&#10;connectionString = connString.ConnectionString;&#10;}&lt;/p&gt;&#10;&lt;p&gt;string[] parts = connectionString.Split(&amp;rsquo;;&amp;rsquo;);&lt;/p&gt;&#10;&lt;p&gt;for (int i = 0; i &amp;lt; parts.Length; i++)&#10;{&#10;string part = parts[i].Trim().ToLowerInvariant();&#10;if (part.StartsWith($&amp;quot;{section}=&amp;quot;))&#10;{&#10;return part.Replace($&amp;quot;{section}=&amp;quot;, &amp;ldquo;&amp;rdquo;);&#10;}&#10;}&lt;/p&gt;&#10;&lt;p&gt;return &amp;ldquo;Unknown&amp;rdquo;;&#10;}&lt;/pre&gt;</description></item><item><title>Difference between == and === in JavaScript</title><link>https://bryanavery.co.uk/difference-between-and-in-javascript/</link><pubDate>Fri, 18 May 2018 06:21:54 +0000</pubDate><guid>https://bryanavery.co.uk/difference-between-and-in-javascript/</guid><description>&lt;p&gt;The 3 equal signs mean “equality without type coercion”. Using the triple equals, the values must be equal in type as well.&lt;/p&gt;&#10;&lt;pre class="default prettyprint prettyprinted"&gt;&lt;code&gt;&lt;span class="lit"&gt;0&lt;/span&gt; &lt;span class="pun"&gt;==&lt;/span&gt; &lt;span class="kwd"&gt;false&lt;/span&gt; &lt;span class="com"&gt;// true&lt;/span&gt;&#10;&lt;span class="lit"&gt;0&lt;/span&gt; &lt;span class="pun"&gt;===&lt;/span&gt; &lt;span class="kwd"&gt;false&lt;/span&gt; &lt;span class="com"&gt;// false, because they are of a different type&lt;/span&gt;&#10;&lt;span class="lit"&gt;1&lt;/span&gt; &lt;span class="pun"&gt;==&lt;/span&gt; &lt;span class="str"&gt;"1"&lt;/span&gt; &lt;span class="com"&gt;// true, automatic type conversion for value only&lt;/span&gt;&#10;&lt;span class="lit"&gt;1&lt;/span&gt; &lt;span class="pun"&gt;===&lt;/span&gt; &lt;span class="str"&gt;"1"&lt;/span&gt; &lt;span class="com"&gt;// false, because they are of a different type&lt;/span&gt;&#10;&lt;span class="kwd"&gt;null&lt;/span&gt; &lt;span class="pun"&gt;==&lt;/span&gt; &lt;span class="kwd"&gt;undefined&lt;/span&gt; &lt;span class="com"&gt;// true&lt;/span&gt;&#10;&lt;span class="kwd"&gt;null&lt;/span&gt; &lt;span class="pun"&gt;===&lt;/span&gt; &lt;span class="kwd"&gt;undefined&lt;/span&gt; &lt;span class="com"&gt;// false&lt;/span&gt;&#10;&lt;span class="str"&gt;'0'&lt;/span&gt; &lt;span class="pun"&gt;==&lt;/span&gt; &lt;span class="kwd"&gt;false&lt;/span&gt; &lt;span class="com"&gt;// true&lt;/span&gt;&#10;&lt;span class="str"&gt;'0'&lt;/span&gt; &lt;span class="pun"&gt;===&lt;/span&gt; &lt;span class="kwd"&gt;false&lt;/span&gt; &lt;span class="com"&gt;// false&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;</description></item><item><title>Creating API Help Pages</title><link>https://bryanavery.co.uk/creating-api-help-pages/</link><pubDate>Tue, 15 May 2018 08:51:00 +0000</pubDate><guid>https://bryanavery.co.uk/creating-api-help-pages/</guid><description>&lt;p class=""&gt;Install &lt;a class="" data-linktype="external" href="https://go.microsoft.com/fwlink/?LinkId=282650"&gt;ASP.NET and Web Tools 2012.2 Update&lt;/a&gt;. This update integrates help pages into the Web API project template.&lt;/p&gt;&#10;&lt;p&gt;Next, create a new ASP.NET MVC 4 project and select the Web API project template. The project template creates an example API controller named &lt;code&gt;ValuesController&lt;/code&gt;. The template also creates the API help pages. All of the code files for the help page are placed in the Areas folder of the project.&lt;/p&gt;</description></item><item><title>DateTimeOffset for SOAP</title><link>https://bryanavery.co.uk/datetimeoffset-for-soap/</link><pubDate>Thu, 10 May 2018 08:20:13 +0000</pubDate><guid>https://bryanavery.co.uk/datetimeoffset-for-soap/</guid><description>&lt;p&gt;If you are serious about using SOAP, it won’t be long before you find out that if you need a full ISO date in the XML, it will not work using C# and SOAP, as DateTimeOffset is not supported from Microsoft.&lt;/p&gt;</description></item><item><title>Bing Maps in an MVC Application</title><link>https://bryanavery.co.uk/bing-maps-in-an-mvc-application/</link><pubDate>Tue, 01 May 2018 07:40:41 +0000</pubDate><guid>https://bryanavery.co.uk/bing-maps-in-an-mvc-application/</guid><description>&lt;p&gt;Here is a simple example of how to use Bing Maps in an MVC application.&lt;/p&gt;&#10;&lt;p&gt;I am using Bing Maps V8 which is the current version of Microsoft.&lt;/p&gt;&#10;&lt;p&gt;Also, nothing that document.ready will fire long before the map script loads as it loads asynchronously.  Sometimes document.ready will fire before the page is loaded which means the map div might not even be available. To overcome this, we are using the callback parameter of the map script UR: for example:&lt;/p&gt;</description></item><item><title>Caching to improve the user experience</title><link>https://bryanavery.co.uk/caching-to-improve-the-user-experence/</link><pubDate>Thu, 26 Apr 2018 10:16:47 +0000</pubDate><guid>https://bryanavery.co.uk/caching-to-improve-the-user-experence/</guid><description>&lt;p&gt;(Added LazyCache in to the Testing)&lt;/p&gt;&#10;&lt;p&gt;One of the essential factors in building high-performance, scalable Web applications is the ability to store items, whether data objects, pages, or even parts of a page in memory the initial time they are requested. You can save these items on the Web server or other software in the request stream, such as a proxy server or at the browser. This allows you to avoid recreating information that satisfied a previous request. Known as caching, it will enable you to use many techniques to store page output or application data across HTTP requests and reuse it. When the server does not have to recreate information you save time and resources, and throughput and scalability increase.&lt;/p&gt;</description></item><item><title>SignalR – the right way</title><link>https://bryanavery.co.uk/signalr-the-right-way/</link><pubDate>Wed, 25 Apr 2018 07:50:08 +0000</pubDate><guid>https://bryanavery.co.uk/signalr-the-right-way/</guid><description>&lt;p&gt;It has been quite sometime that SignalR has been around, 2014, so why are not more people using it? First what is SignalR?&lt;/p&gt;&#10;&lt;p&gt;ASP.NET SignalR is a library for ASP.NET developers that makes developing real-time web functionality easy. SignalR allows bi-directional communication between server and client. Servers can now push content to connected clients instantly as it becomes available. SignalR supports Web Sockets and falls back to other compatible techniques for older browsers. SignalR includes APIs for connection management (for instance, connect and disconnect events), grouping connections, and authorisation.&lt;/p&gt;</description></item><item><title>Async Unit Tests</title><link>https://bryanavery.co.uk/async-unit-tests/</link><pubDate>Tue, 10 Apr 2018 07:38:55 +0000</pubDate><guid>https://bryanavery.co.uk/async-unit-tests/</guid><description>&lt;p&gt;In theory, Async unit testing seems easy, run the Async, wait until it is finished and look at the results.  But as you will find out it is not that easy.&lt;/p&gt;&#10;&lt;p&gt;Here is the official approach to Async unit testing&lt;/p&gt;</description></item><item><title>Generate C# Classes from JSON Responses</title><link>https://bryanavery.co.uk/generate-c-classes-from-json-responses/</link><pubDate>Mon, 09 Apr 2018 07:27:30 +0000</pubDate><guid>https://bryanavery.co.uk/generate-c-classes-from-json-responses/</guid><description>&lt;p&gt;Well, as web developers, we are always dealing with JSON data which are coming from different sources. Either we are serialising our entities, or it’s coming from the external sources like third-party services and so on.&lt;/p&gt;</description></item><item><title>Repository Pattern – for the REST API</title><link>https://bryanavery.co.uk/repository-pattern-for-the-rest-api/</link><pubDate>Fri, 06 Apr 2018 13:51:23 +0000</pubDate><guid>https://bryanavery.co.uk/repository-pattern-for-the-rest-api/</guid><description>&lt;p&gt;The Repository Pattern used to be the next big thing when it was used, but over time it got replaced by frameworks such as the Entity Framework and LINQ, which provided much more functionality and flexibility.&lt;/p&gt;</description></item><item><title>Create a subset of Unit Tests with a Playlist</title><link>https://bryanavery.co.uk/create-a-subset-of-unit-tests-with-a-playlist/</link><pubDate>Wed, 07 Mar 2018 10:48:30 +0000</pubDate><guid>https://bryanavery.co.uk/create-a-subset-of-unit-tests-with-a-playlist/</guid><description>&lt;p&gt;Visual Studio Unit Test Tools comes with another excellent feature to manage unit test as a group /subset, called as “Playlist”. A Playlist is a subset of unit test methods grouped under some category. The Playlist could be a logical subset based on modules, features, layers etc. A Playlist is useful when we want to test a particular set of test cases among all the test methods. In that case, we just create a group of those test cases which may get impacted by our current changes in the actual code, and execute them only to ensure nothing breaks.&lt;/p&gt;</description></item><item><title>Timeout Process</title><link>https://bryanavery.co.uk/timeout-process/</link><pubDate>Fri, 23 Feb 2018 08:10:48 +0000</pubDate><guid>https://bryanavery.co.uk/timeout-process/</guid><description>&lt;p&gt;When you are dealing with large amounts of data or processes that are very time hungry you sometimes need the ability to timeout that task and continue.&lt;/p&gt;&#10;&lt;p&gt;Here is a snippet of code that loops around that takes 1 second, and you can set a timeout to any time you like, but if it is less than 1 second, it will cancel the task and free up resources.&lt;/p&gt;</description></item><item><title>Search every column in a SQL Server Database</title><link>https://bryanavery.co.uk/search-every-column-in-a-sql-server-database/</link><pubDate>Thu, 22 Feb 2018 10:27:46 +0000</pubDate><guid>https://bryanavery.co.uk/search-every-column-in-a-sql-server-database/</guid><description>&lt;p&gt;Following on from the &lt;a href="https://bryanavery.co.uk/index.html%3Fp=878.html"&gt;Search every table and field in a SQL Server Database&lt;/a&gt; article I posted last week, I thought it would be useful also to be able to search every column for some text and return where it was found.&lt;/p&gt;</description></item><item><title>Search every column in a SQL Server Database</title><link>https://bryanavery.co.uk/search/</link><pubDate>Thu, 22 Feb 2018 10:27:46 +0000</pubDate><guid>https://bryanavery.co.uk/search/</guid><description>&lt;p&gt;Following on from the &lt;a href="https://bryanavery.co.uk/index.html%3Fp=878.html"&gt;Search every table and field in a SQL Server Database&lt;/a&gt; article I posted last week, I thought it would be useful also to be able to search every column for some text and return where it was found.&lt;/p&gt;</description></item><item><title>Versioning</title><link>https://bryanavery.co.uk/versioning/</link><pubDate>Thu, 22 Feb 2018 08:46:45 +0000</pubDate><guid>https://bryanavery.co.uk/versioning/</guid><description>&lt;p&gt;In the article we are going to look at the importance of a good version control system, and why it is crucial when it comes to API versioning.&lt;/p&gt;&#10;&lt;p&gt;It is essential that we deploy a Web API version control from an early stage in our project. Versioning will ensure that the project is built on a solid base and that a standard is maintained. A good version control system will enable us to collaborate and scale in a managed way, and as such will provide our customers with a more straightforward progression through our upgrades.&lt;/p&gt;</description></item><item><title>Search every table and field in a SQL Server Database</title><link>https://bryanavery.co.uk/search-every-table-and-field-in-a-sql-server-database/</link><pubDate>Fri, 16 Feb 2018 08:10:27 +0000</pubDate><guid>https://bryanavery.co.uk/search-every-table-and-field-in-a-sql-server-database/</guid><description>&lt;p&gt;One thing I do like about MySQL is when using phpMyAdmin is the ability to search the whole database for any string, this should only be available for developers who are searching for data in an extensive database.  It does take some time to run, but remember it has a lot to do.&lt;/p&gt;</description></item><item><title>DataSets with Entity framework</title><link>https://bryanavery.co.uk/datasets-with-entity-framework/</link><pubDate>Wed, 31 Jan 2018 10:13:52 +0000</pubDate><guid>https://bryanavery.co.uk/datasets-with-entity-framework/</guid><description>&lt;p&gt;Why, why, why I hear you say would you want to use Datasets with the Entity Framework?&lt;/p&gt;&#10;&lt;p&gt;I’m not here to debate the whys and wherefores for doing this, just finding a simple solution to the problem.&lt;/p&gt;</description></item><item><title>Choosing the Boring Solution</title><link>https://bryanavery.co.uk/choosing-the-boring-solution/</link><pubDate>Fri, 19 Jan 2018 08:14:12 +0000</pubDate><guid>https://bryanavery.co.uk/choosing-the-boring-solution/</guid><description>&lt;p&gt;When solving a complex problem, it’s sometimes very tempting to choose an excellent solution. Not only will this solve the problem – but it will also impress your teammates and bring you everlasting glory.&lt;/p&gt;&#10;&lt;p&gt;An even better solution, however, would probably be a boring one. One that is easy to understand, even for your junior colleagues. One that is well-known for your platform and language. One that is entirely not extraordinary.&lt;/p&gt;</description></item><item><title>Aiming for Simplicity</title><link>https://bryanavery.co.uk/aiming-for-simplicity/</link><pubDate>Fri, 19 Jan 2018 08:10:36 +0000</pubDate><guid>https://bryanavery.co.uk/aiming-for-simplicity/</guid><description>&lt;p&gt;Acronyms FTW! Car enthusiasts might now think of BMW, but software developers should think of &lt;a href="https://simpleprogrammer.com/2015/08/19/kiss-one-best-practice-to-rule-them-all/" rel="noopener" target="_blank"&gt;KISS&lt;/a&gt; and &lt;a href="https://en.wikipedia.org/wiki/You_aren%27t_gonna_need_it" rel="noopener" target="_blank"&gt;YAGNI&lt;/a&gt;.&lt;/p&gt;&#10;&lt;p&gt;“Keep it simple, stupid” should remind us that the simple solution will always beat the overengineered solution. The reasons why this is true are almost endless. And they might be easier to understand when looking at the opposite: complex code.&lt;/p&gt;</description></item><item><title>Stack-Overflow-Driven Development</title><link>https://bryanavery.co.uk/stack-overflow-driven-development/</link><pubDate>Fri, 19 Jan 2018 07:58:56 +0000</pubDate><guid>https://bryanavery.co.uk/stack-overflow-driven-development/</guid><description>&lt;p&gt;Thank God for StackOverflow.com. I seriously can’t imagine my (programming) life without it. And with it being one of the most visited sites on the web, I guess I’m not alone.&lt;/p&gt;&#10;&lt;p&gt;There’s a long friendship between Stack Overflow and me. It helped me countless times when I was stuck on a problem. It gave me an idea of how other people had approached the same problem. Sometimes these other people helped me solve my problem. Sometimes they gave me a hint for a possible solution. And sometimes reading their issues at least let me know that I wasn’t alone with a miserable bug…&lt;/p&gt;</description></item><item><title>Design Patterns</title><link>https://bryanavery.co.uk/design-patterns/</link><pubDate>Fri, 19 Jan 2018 07:55:42 +0000</pubDate><guid>https://bryanavery.co.uk/design-patterns/</guid><description>&lt;p&gt;Sometimes, a solution is so beautiful, and you wish you had the right problem to apply it to. But unfortunately, issues come first. As impressive as your new screwdriver may be (imagine a handle made of gold, with your initials engraved, of course, if the problem at hand is to knock in a nail, it makes for only a less than perfect solution.&lt;/p&gt;</description></item><item><title>Creating Good APIs</title><link>https://bryanavery.co.uk/creating-good-apis/</link><pubDate>Fri, 19 Jan 2018 07:52:44 +0000</pubDate><guid>https://bryanavery.co.uk/creating-good-apis/</guid><description>&lt;p&gt;I’m sure you’ve used a third-party API at some point in your dev career – for example, to create new contacts in your CRM, to send emails through a newsletter service, or to do anything else with a third-party service virtually.&lt;/p&gt;</description></item><item><title>Differences Between ASMX and WCF Services</title><link>https://bryanavery.co.uk/differences-between-asmx-and-wcf-services/</link><pubDate>Tue, 16 Jan 2018 07:32:51 +0000</pubDate><guid>https://bryanavery.co.uk/differences-between-asmx-and-wcf-services/</guid><description>&lt;p&gt;Some differences between ASMX and WCF services are subtle and some differences between them are not subtle. The purpose of this section is to identify many of these differences and to provide guidance for how to handle them when preparing for, or when performing, migration. ASMX provides a very successful baseline for services, and WCF extends those capabilities for the next generation of services.&lt;/p&gt;</description></item><item><title>Defining and Using Custom Attribute Classes in C#</title><link>https://bryanavery.co.uk/defining-and-using-custom-attribute-classes-in-c/</link><pubDate>Wed, 10 Jan 2018 08:41:27 +0000</pubDate><guid>https://bryanavery.co.uk/defining-and-using-custom-attribute-classes-in-c/</guid><description>&lt;p&gt;Attributes are advantageous in C# to provide none business-related functionality in an application or to abstract out the code to make it easier to follow.&lt;/p&gt;&#10;&lt;p&gt;The issue is when does the attribute code get called and how do you force it to run?&lt;/p&gt;</description></item><item><title>GDPR Compliance Checklist</title><link>https://bryanavery.co.uk/gdpr-compliance-checklist/</link><pubDate>Wed, 22 Nov 2017 13:28:32 +0000</pubDate><guid>https://bryanavery.co.uk/gdpr-compliance-checklist/</guid><description>&lt;p&gt;A quick list for GDPR Compliance&lt;/p&gt;&#10;&lt;h3&gt;Do you have a contact form?&lt;/h3&gt;&#10;&lt;p&gt;Make sure you add a checkbox explicitly asking the user for the form if they consent to you storing and using their personal information to get back in touch with them. The box must be unchecked by default. Also, mention if you will send or share the data with any 3rd-parties and which.&lt;/p&gt;</description></item><item><title>GDPR and your website</title><link>https://bryanavery.co.uk/gdpr-and-your-website/</link><pubDate>Wed, 22 Nov 2017 09:08:44 +0000</pubDate><guid>https://bryanavery.co.uk/gdpr-and-your-website/</guid><description>&lt;p&gt;On 25th May 2018, the GDPR (General Data Protection Regulation) enacted by the EU will come into effect.&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;How do you make your website GDPR compliant?&lt;/li&gt;&#10;&lt;li&gt;What are the steps that you must take to ensure that you follow the guidelines?&lt;/li&gt;&#10;&lt;li&gt;What if you neglect this?&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;This article will help you in your endeavour to be ready when the regulation kicks in.&lt;/p&gt;</description></item><item><title>EF Migrations Command Reference</title><link>https://bryanavery.co.uk/ef-migrations-command-reference/</link><pubDate>Mon, 13 Nov 2017 09:28:45 +0000</pubDate><guid>https://bryanavery.co.uk/ef-migrations-command-reference/</guid><description>&lt;p&gt;Entity Framework is always a pain the back side when it comes to managing multiple database and know what to do if things get out of sync, an article by Anders Abel clearly lays out what need to be done and what can be used to sort out any sync problems, here is a snip from his article:&lt;/p&gt;</description></item><item><title>GDPR and SQL Server</title><link>https://bryanavery.co.uk/gdpr-and-sql-server/</link><pubDate>Fri, 10 Nov 2017 08:08:41 +0000</pubDate><guid>https://bryanavery.co.uk/gdpr-and-sql-server/</guid><description>&lt;p&gt;Data privacy and data security have become one of the most prominent topics in organizations in almost every industry across the globe. New regulations are emerging that formalize requirements around these topics, and compel organizations to comply.&lt;/p&gt;</description></item><item><title>Parse JSON into a C# Object</title><link>https://bryanavery.co.uk/parse-json-into-a-c-object/</link><pubDate>Thu, 09 Nov 2017 09:17:41 +0000</pubDate><guid>https://bryanavery.co.uk/parse-json-into-a-c-object/</guid><description>&lt;p&gt;Let’s start with a simple JSON string. In most cases, you will get this string from a web service call. For the sake of this tutorial, we will do this manually.&lt;/p&gt;&#10;&lt;pre&gt;&lt;code class="hljs actionscript"&gt;&lt;span class="hljs-keyword"&gt;var&lt;/span&gt; example1 = @&lt;span class="hljs-string"&gt;"{"&lt;/span&gt;&lt;span class="hljs-string"&gt;"name"&lt;/span&gt;&lt;span class="hljs-string"&gt;":"&lt;/span&gt;&lt;span class="hljs-string"&gt;"John Doe"&lt;/span&gt;&lt;span class="hljs-string"&gt;","&lt;/span&gt;&lt;span class="hljs-string"&gt;"age"&lt;/span&gt;&lt;span class="hljs-string"&gt;":20}"&lt;/span&gt;;&#10;&lt;/code&gt;&lt;/pre&gt;&#10;&lt;p&gt;&lt;code&gt;example1&lt;/code&gt; is a simple JSON object with 2 fields: name and age.&lt;/p&gt;</description></item><item><title>Difference between POST and PUT</title><link>https://bryanavery.co.uk/difference-between-post-and-put/</link><pubDate>Thu, 31 Aug 2017 08:03:04 +0000</pubDate><guid>https://bryanavery.co.uk/difference-between-post-and-put/</guid><description>&lt;p&gt;I was asked a question today about what was the difference between POST and PUT when referring to HTTP.&lt;/p&gt;&#10;&lt;p&gt;There seems to be some confusion over what people understand it to be; it is quite simple, just to avoid any confusion here is the &lt;a href="https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5" rel="noopener" target="_blank"&gt;RFC&lt;/a&gt; itself explains the core difference:&lt;/p&gt;</description></item><item><title>Git Workflow</title><link>https://bryanavery.co.uk/git-workflow/</link><pubDate>Sun, 20 Aug 2017 15:40:08 +0000</pubDate><guid>https://bryanavery.co.uk/git-workflow/</guid><description>&lt;p&gt;Source control packages always have been a bit of a pain when you first start using them. You may know the principles of source control. Each environment has its own way and definitions and its own processes. Once you are used to using a source control system and the steps you follow it is easy. I call this the Source Control shuffle.&lt;/p&gt;</description></item><item><title>Symmetric encryption/decryption routine using AES</title><link>https://bryanavery.co.uk/symmetric-encryptiondecryption-routine-using-aes/</link><pubDate>Mon, 24 Jul 2017 15:40:48 +0000</pubDate><guid>https://bryanavery.co.uk/symmetric-encryptiondecryption-routine-using-aes/</guid><description>&lt;p&gt;The following is a symmetric encryption/decryption routine using AES in GCM mode. This code operates in the application layer and is meant to receive user-specific and confidential information and encrypt it, after which it is stored in a separate database server. It also is called upon to decrypt encrypted information from the database.&lt;/p&gt;</description></item><item><title>Database Layer</title><link>https://bryanavery.co.uk/database-layer/</link><pubDate>Mon, 24 Jul 2017 15:39:35 +0000</pubDate><guid>https://bryanavery.co.uk/database-layer/</guid><description>&lt;p&gt;The DatabaseLayer is an abstraction for database access which means the calling application or library does not need to be tight-coupled to the database itself. A set of factory methods is available to call in order to create commands and parameters, all based on the .NET abstract base classes.&lt;/p&gt;</description></item><item><title>Azure Key Vault</title><link>https://bryanavery.co.uk/azure-key-vault/</link><pubDate>Fri, 23 Jun 2017 08:42:47 +0000</pubDate><guid>https://bryanavery.co.uk/azure-key-vault/</guid><description>&lt;p&gt;This is how, within your organisation, you can protect the data, especially in a cloud-first, multi-tenant world. The source will provide you with the concepts around encrypting enterprise data, look at what you should encrypt, and cover robust patterns and practices you can follow in your organisation.&lt;/p&gt;</description></item><item><title>Security Links and References</title><link>https://bryanavery.co.uk/security-links-and-references/</link><pubDate>Fri, 23 Jun 2017 08:35:20 +0000</pubDate><guid>https://bryanavery.co.uk/security-links-and-references/</guid><description>&lt;p&gt;To get a level of how many data breaches are happening Breach Level Index provides this information, along with many other statistics&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="http://breachlevelindex.com/" rel="noopener noreferrer" target="_blank"&gt;http://breachlevelindex.com/&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;Need to check if you have an email account that has been compromised in a data breach when check out Have I Been Pwned to check if you have been compromised and also Signup to get email notifications&lt;/p&gt;</description></item><item><title>Azure Resource Manager Templates Tips and Tricks for a Application Service</title><link>https://bryanavery.co.uk/azure-resource-manager-templates-tips-and-tricks-for-a-application-service/</link><pubDate>Fri, 23 Jun 2017 08:34:28 +0000</pubDate><guid>https://bryanavery.co.uk/azure-resource-manager-templates-tips-and-tricks-for-a-application-service/</guid><description>&lt;p&gt;Over the past week, I spent some time automating Azure App Service infrastructure with Azure Resource Manager (ARM) templates. I discovered a few tips and tricks along the way that I’ll describe in detail below…&lt;/p&gt;</description></item><item><title>Allow access to Azure services, what does this actually mean?</title><link>https://bryanavery.co.uk/allow-access-to-azure-services-what-does-this-actually-mean/</link><pubDate>Wed, 14 Jun 2017 08:36:47 +0000</pubDate><guid>https://bryanavery.co.uk/allow-access-to-azure-services-what-does-this-actually-mean/</guid><description>&lt;p&gt;I did some quick research on the SQL Server Firewall “Allow Access to Azure Services” option in Azure today.&lt;/p&gt;&#10;&lt;p&gt;And I sorry to say that my fears were right, that by setting this option does pose a significant security risk and leaves the SQL Server vulnerable.&lt;/p&gt;</description></item><item><title>Comparing SecureStrings</title><link>https://bryanavery.co.uk/comparing-securestrings/</link><pubDate>Thu, 08 Jun 2017 07:42:05 +0000</pubDate><guid>https://bryanavery.co.uk/comparing-securestrings/</guid><description>&lt;p&gt;After writing about SecureStrings, you soon come to realise that holding the secret information you are going to have to make some comparisons at some point. For example, if you need to check a password.&lt;/p&gt;</description></item><item><title>Cryptography .NET, Avoiding Timing Attack</title><link>https://bryanavery.co.uk/cryptography-net-avoiding-timing-attack/</link><pubDate>Tue, 06 Jun 2017 14:13:49 +0000</pubDate><guid>https://bryanavery.co.uk/cryptography-net-avoiding-timing-attack/</guid><description>&lt;p&gt;When comparing two MACs or hashes (also password hashes) for equality you would first think a simple comparison would be okay?  Think again as they are susceptible to timing attacks.&lt;/p&gt;&#10;&lt;p style="padding-left: 30px;"&gt;&lt;em&gt;In cryptography, a timing attack is a side channel attack in which the attacker attempts to compromise a cryptosystem by analysing the time taken to execute cryptographic algorithms.&lt;/em&gt;&lt;/p&gt;</description></item><item><title>Azure Key Vault Setting up</title><link>https://bryanavery.co.uk/azure-key-vault-setting-up/</link><pubDate>Tue, 06 Jun 2017 11:12:29 +0000</pubDate><guid>https://bryanavery.co.uk/azure-key-vault-setting-up/</guid><description>&lt;p&gt;Setting up Azure Key Vault for use within a .NET application is not an easy process, as it is a secure environment and security is required to gain access, which involved the Active Directly Application registrations and Access Policies.&lt;/p&gt;</description></item><item><title>SecureString</title><link>https://bryanavery.co.uk/securestring/</link><pubDate>Fri, 02 Jun 2017 14:51:58 +0000</pubDate><guid>https://bryanavery.co.uk/securestring/</guid><description>&lt;p&gt;I’ve come across a class in the System.Security namespace that is often overlooked. The class is SecureString. In this post, I will go over what SecureString is and why it is needed.&lt;/p&gt;&#10;&lt;p&gt;Have you ever come across these scenarios before?&lt;/p&gt;</description></item><item><title>Raising Multiple Exceptions with AggregateException</title><link>https://bryanavery.co.uk/raising-multiple-exceptions-with-aggregateexception/</link><pubDate>Wed, 24 May 2017 08:58:31 +0000</pubDate><guid>https://bryanavery.co.uk/raising-multiple-exceptions-with-aggregateexception/</guid><description>&lt;p&gt;There are occasions where you are aware of many exceptions within your code that you want to raise together in one go. Perhaps your system makes a service call to a middleware orchestration component that potentially returns many exceptions detailed in its response, or another scenario might be a batch processing task dealing with many items in one process that require you to collate all exceptions until the end and then throw them together.&lt;/p&gt;</description></item><item><title>Using MongoDB</title><link>https://bryanavery.co.uk/using-mongodb/</link><pubDate>Tue, 16 May 2017 13:33:30 +0000</pubDate><guid>https://bryanavery.co.uk/using-mongodb/</guid><description>&lt;p&gt;If you want to setup MongoDB with C#, then the best option is to follow the getting started guide on the MongoDB website&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="https://docs.mongodb.com/getting-started/csharp/client/" rel="noopener noreferrer" target="_blank"&gt;https://docs.mongodb.com/getting-started/csharp/client/&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;You can install the NuGet package for MongoDB by typing into the Package Manager Console&lt;/p&gt;</description></item><item><title>Custom Configuration in your config</title><link>https://bryanavery.co.uk/custom-configuration-in-your-config/</link><pubDate>Wed, 10 May 2017 09:41:18 +0000</pubDate><guid>https://bryanavery.co.uk/custom-configuration-in-your-config/</guid><description>&lt;p&gt;This post is to show how to setup a customised configuration section in your app.config or web.conifg of your .NET application&lt;/p&gt;&#10;&lt;p&gt;I have written an &lt;a href="https://bryanavery.co.uk/index.html%3Fp=318.html" rel="noopener noreferrer" target="_blank"&gt;article&lt;/a&gt; on this before, back in 2008, but things have moved on in the libraries and this is the latest and easiest way to create your own customised configuration.&lt;/p&gt;</description></item><item><title>New Features in C# 7.0</title><link>https://bryanavery.co.uk/new-features-in-c-7-0/</link><pubDate>Fri, 24 Mar 2017 23:35:31 +0000</pubDate><guid>https://bryanavery.co.uk/new-features-in-c-7-0/</guid><description>&lt;p&gt;Microsoft have release C# 7.0 and it comes with a number of new features and brings a focus on data consumption, code simplification and performance. Tuples have been around for a while but they have made them so much easier to use, which make it easy to have multiple results, and pattern matching which simplifies code that is conditional on the shape of data. But there are many other features big and small.&lt;/p&gt;</description></item><item><title>A web-developer’s guide to help eliminate non-coding tasks and get code done faster</title><link>https://bryanavery.co.uk/a-web-developers-guide-to-help-eliminate-non-coding-tasks-and-get-code-done-faster/</link><pubDate>Fri, 24 Mar 2017 14:04:26 +0000</pubDate><guid>https://bryanavery.co.uk/a-web-developers-guide-to-help-eliminate-non-coding-tasks-and-get-code-done-faster/</guid><description>&lt;p&gt;Microsoft have just published this great eBook which helps web developers cut right to the code scripting of environments to make all the firewall ports and get code done quickly by providing an overview of key services in the cloud, what services to use based on your needs, step by step guidance, sample code, sample applications, and a free account to get started.&lt;/p&gt;</description></item><item><title>How slow are Exceptions</title><link>https://bryanavery.co.uk/how-slow-are-exceptions/</link><pubDate>Fri, 16 Dec 2016 09:23:50 +0000</pubDate><guid>https://bryanavery.co.uk/how-slow-are-exceptions/</guid><description>&lt;p&gt;I’ve seen from time to time applications that wrap a TRY – CATCH around some code, but do nothing except carry on.  So why is this so wrong?&lt;/p&gt;&#10;&lt;p&gt;As programmers we want to write quality code that solves problems. Unfortunately, exceptions come as side effects of our code. No one likes side effects, so we soon find our own ways to get around them. I have seen some smart programmers deal with exceptions the following way:&lt;/p&gt;</description></item><item><title>Entity Framework Unit of Work Patterns</title><link>https://bryanavery.co.uk/entity-framework-unit-of-work-patterns/</link><pubDate>Tue, 13 Dec 2016 13:53:30 +0000</pubDate><guid>https://bryanavery.co.uk/entity-framework-unit-of-work-patterns/</guid><description>&lt;p&gt;I’m not often shocked, but when I found out that Entity Framework was not thread safe, I was horrified.  I even had to buy a fellow college dinner as I lost a bet.&lt;/p&gt;&#10;&lt;p&gt;Now that I knew what the problem was how can it be resolved?&lt;/p&gt;</description></item><item><title>Decorator Pattern</title><link>https://bryanavery.co.uk/decorator-pattern/</link><pubDate>Mon, 12 Dec 2016 09:26:09 +0000</pubDate><guid>https://bryanavery.co.uk/decorator-pattern/</guid><description>&lt;p&gt;Decorator pattern falls under Structural Pattern of Gang of Four (GOF) Design Patterns in .Net. Decorator pattern is used to add new functionality to an existing object without changing its structure. Hence Decorator pattern provides an alternative way to inheritance for modifying the behavior of an object. In this article, I would like to go over what the decorator pattern can do, and how it works.&lt;/p&gt;</description></item><item><title>Kendo Grid custom sort order</title><link>https://bryanavery.co.uk/kendo-grid-custom-sort-order/</link><pubDate>Thu, 08 Dec 2016 16:51:32 +0000</pubDate><guid>https://bryanavery.co.uk/kendo-grid-custom-sort-order/</guid><description>&lt;p&gt;I’ve been racking my brains as the sorting on the Kendo Grid is pretty good, only that I need to be able to not sort in the order that is being displayed.  An example would be numbers written out in full and you want them in number sort order.&lt;/p&gt;</description></item><item><title>Uncle Bob On Coding Standards</title><link>https://bryanavery.co.uk/uncle-bob-on-coding-standards/</link><pubDate>Mon, 05 Dec 2016 18:36:29 +0000</pubDate><guid>https://bryanavery.co.uk/uncle-bob-on-coding-standards/</guid><description>&lt;p&gt;It’s important for a team to have a single coding standard for each language to avoid several problems:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;A lack of standards can make your code unreadable.&lt;/li&gt;&#10;&lt;li&gt;Disagreement over standards can cause check-in wars between developers.&lt;/li&gt;&#10;&lt;li&gt;Seeing different standards in the same class can be extremely irritating.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;UncleBob wrote this:&lt;/p&gt;</description></item><item><title>Code Metrics what do they mean?</title><link>https://bryanavery.co.uk/code-metrics-what-do-they-mean/</link><pubDate>Wed, 30 Nov 2016 16:53:53 +0000</pubDate><guid>https://bryanavery.co.uk/code-metrics-what-do-they-mean/</guid><description>&lt;p&gt; &lt;/p&gt;&#10;&lt;p&gt;&lt;b&gt;Code metrics&lt;/b&gt; is a set of software measures that provide developers better insight into the &lt;b&gt;code&lt;/b&gt; they are developing. By taking advantage of &lt;b&gt;code metrics&lt;/b&gt;, developers can understand which types and/or methods should be reworked or more thoroughly tested.&lt;/p&gt;</description></item><item><title>IoC Benchmark</title><link>https://bryanavery.co.uk/ioc-benchmark/</link><pubDate>Wed, 30 Nov 2016 16:22:37 +0000</pubDate><guid>https://bryanavery.co.uk/ioc-benchmark/</guid><description>&lt;p&gt;So which is the fastest at different IoC Lifestyles.&lt;/p&gt;&#10;&lt;p&gt;In this benchmark we will be running, head to had, with Castle Windsor, Ninject, Spring.NET, Unity, Microsoft DI, AutoFac, and Structure Map.&lt;/p&gt;&#10;&lt;p&gt;Here is a working project, this uses NuGet to included the packages, so as time goes on you may find the packages go out of date, so you’ll need to refactor the code to work with the next packages.&lt;/p&gt;</description></item><item><title>Differences between Scrum and Kanban</title><link>https://bryanavery.co.uk/differences-between-scrum-and-kanban/</link><pubDate>Tue, 29 Nov 2016 09:19:44 +0000</pubDate><guid>https://bryanavery.co.uk/differences-between-scrum-and-kanban/</guid><description>&lt;p&gt;Scrum and Kanban are two terms that are often (incorrectly) used interchangeably or thought to be two sides of the same coin. In reality, there are significant differences between these two Agile methodologies. Understanding these differences is key to choosing the path that will work best for your environment. In a nutshell, what is Scrum? Without getting too detailed, Scrum is a tool used to organise work into small, manageable pieces that can be completed by a cross-functional team within a prescribed time period (called a sprint, generally 2-4 weeks long). To plan, organise, administer, and optimise this process, Scrum relies on at least three prescribed roles: the Product Owner (responsible for initial planning, prioritising, and communication with the rest of the company), the Scrum Master (responsible for overseeing the process during each sprint), and the Team Members (responsible to carry out the purpose of each sprint, such as producing software code.) Another common tool used by scrum teams is the Scrum Board – a visual representation of the work flow, broken down into manageable chunks called “stories”, with each story moved along the board from the “backlog” (the to-do list), into work-in-progress (WIP), and on to completion.&lt;/p&gt;</description></item><item><title>Factory Support Facility</title><link>https://bryanavery.co.uk/factory-support-facility/</link><pubDate>Mon, 28 Nov 2016 13:40:47 +0000</pubDate><guid>https://bryanavery.co.uk/factory-support-facility/</guid><description>&lt;p&gt;Factory Support Facility allows using factories to create components. This is beneficial when you want to make available as services components that do not have accessible constructor, or that you don’t instantiate, like HttpContext.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Prefer UsingFactoryMethod over this facility:&lt;/strong&gt; while the facility provides programmatic API it is deprecated and its usage is discouraged and won’t be discussed here. Recommended approach is to use &lt;a href="https://github.com/castleproject/Windsor/blob/master/docs/registering-components-one-by-one.md#using-a-delegate-as-component-factory"&gt;&lt;span style="color: #3366ff;"&gt;UsingFactoryMethod&lt;/span&gt;&lt;/a&gt; method of&lt;a href="https://github.com/castleproject/Windsor/blob/master/docs/fluent-registration-api.md"&gt;&lt;span style="color: #3366ff;"&gt; fluent registration API&lt;/span&gt;&lt;/a&gt; to create components. This limits the usefulness of the facility to XML-driven and legacy scenarios.&lt;/p&gt;</description></item><item><title>Registering components for IoC</title><link>https://bryanavery.co.uk/registering-components-for-ioc/</link><pubDate>Mon, 28 Nov 2016 13:32:45 +0000</pubDate><guid>https://bryanavery.co.uk/registering-components-for-ioc/</guid><description>&lt;p&gt;Inversion of Control (IoC) is quite a big step for some developers, but the benefits once implemented are huge.  With the applications performance, maintainability, unit testing and more importantly separation of concerns, just to name a few.&lt;/p&gt;</description></item><item><title>Introduction to IoC with Windsor</title><link>https://bryanavery.co.uk/introduction-to-ioc-with-windsor/</link><pubDate>Mon, 28 Nov 2016 09:15:00 +0000</pubDate><guid>https://bryanavery.co.uk/introduction-to-ioc-with-windsor/</guid><description>&lt;p&gt;I do love &lt;a href="https://bryanavery.co.uk/index.html%3Fp=158.html"&gt;&lt;strong&gt;&lt;span style="color: #4e4e4e;"&gt;dependency injection&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;, but many developers still seem to miss the point and the reason for having it. If you’re only using it on a small scale, you don’t really need any tools to use the technique. But once you’re used to this design technique, you’ll quickly start using it in many places of your code. If you do, it quickly becomes cumbersome to deal with the real instances of your runtime dependencies manually. This is where tools like Inversion Of Control (IoC) containers come in to play. There are a few solid containers available for the .NET world, and even Microsoft has released their &lt;a href="http://www.codeplex.com/unity" target="_blank"&gt;&lt;strong&gt;&lt;span style="color: #4e4e4e;"&gt;own container&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;. Basically, what the IoC container does for you, is take care of providing dependencies to components in a flexible and customizable way. It allows clients to remain completely oblivious to the dependencies of components they use. This makes it easy to change components without having to modify client code. Not to mention the fact that your components are a lot easier to test, since you can simply inject fake dependencies during your tests.&lt;/p&gt;</description></item><item><title>Object to CSV extension</title><link>https://bryanavery.co.uk/object-to-csv-extension/</link><pubDate>Thu, 10 Nov 2016 08:55:27 +0000</pubDate><guid>https://bryanavery.co.uk/object-to-csv-extension/</guid><description>&lt;p&gt;Here is a nice little extension that will take an object and convert it into a CSV file.&lt;/p&gt;&#10;&lt;p&gt;Also has the option if you want to include a header on the CSV file.&lt;/p&gt;&#10;&lt;pre&gt;public static class ObjectToCsv&#10; {&#10; public static string ToCsv&amp;lt;T&amp;gt;(this IEnumerable&amp;lt;T&amp;gt; items, bool includeHeading = true)&#10; where T : class&#10; {&#10; var csvBuilder = new StringBuilder();&#10; var properties = typeof(T).GetProperties();&#10;&lt;p&gt;if (includeHeading)&#10;{&#10;csvBuilder.AppendLine(string.Join(&amp;quot;,&amp;quot;, properties.Select(p =&amp;gt; p.Name.ToCsvValue()).ToArray()));&#10;}&lt;/p&gt;&#10;&lt;p&gt;foreach (var item in items)&#10;{&#10;var line = string.Join(&amp;quot;,&amp;quot;, properties.Select(p =&amp;gt; p.GetValue(item, null).ToCsvValue()).ToArray());&#10;csvBuilder.AppendLine(line);&#10;}&#10;return csvBuilder.ToString();&#10;}&lt;/p&gt;&#10;&lt;p&gt;private static string ToCsvValue&amp;lt;T&amp;gt;(this T item)&#10;{&#10;if (item == null) return &amp;ldquo;&amp;quot;&amp;quot;&amp;rdquo;;&lt;/p&gt;&#10;&lt;p&gt;if (item is string)&#10;{&#10;return $&amp;quot;&amp;quot;{item.ToString().Replace(&amp;quot;&amp;quot;&amp;quot;, &amp;ldquo;\&amp;quot;&amp;rdquo;)}&amp;quot;&amp;quot;;&#10;}&#10;double dummy;&#10;return double.TryParse(item.ToString(), out dummy) ? $&amp;quot;{item}&amp;quot; : $&amp;quot;&amp;quot;{item}&amp;quot;&amp;quot;;&#10;}&#10;}&lt;/pre&gt;</description></item><item><title>OWASP Testing Guide v3</title><link>https://bryanavery.co.uk/owasp-testing-guide-v3/</link><pubDate>Wed, 02 Nov 2016 14:18:45 +0000</pubDate><guid>https://bryanavery.co.uk/owasp-testing-guide-v3/</guid><description>&lt;p&gt;Every vibrant technology marketplace needs an unbiased source of information on best practices as well as an active body advocating open standards. In the Application Security space, one of those groups is the Open Web Application Security Project (or OWASP for short).&lt;/p&gt;</description></item><item><title>Testing for Vulnerable Remember Password and Password Reset</title><link>https://bryanavery.co.uk/testing-for-vulnerable-remember-password-and-pwd-reset/</link><pubDate>Wed, 02 Nov 2016 14:15:41 +0000</pubDate><guid>https://bryanavery.co.uk/testing-for-vulnerable-remember-password-and-pwd-reset/</guid><description>&lt;h2&gt;&lt;span class="mw-headline" id="Brief_Summary"&gt;Brief Summary&lt;/span&gt;&lt;/h2&gt;&#10;&lt;p&gt;Most web applications allow users to reset their password if they have forgotten it, usually by sending them a password reset email and/or by asking them to answer one or more “security questions.” In this test, we check that this function is properly implemented and that it does not introduce any flaw in the authentication scheme. We also check whether the application allows the user to store the password in the browser (“remember password” function).&lt;/p&gt;</description></item><item><title>ASP.NET Web API Architecture</title><link>https://bryanavery.co.uk/asp-net-web-api-architecture/</link><pubDate>Mon, 17 Oct 2016 11:25:09 +0000</pubDate><guid>https://bryanavery.co.uk/asp-net-web-api-architecture/</guid><description>&lt;p&gt;It is important that when working with customers that the architecture is defined and clear in everyone’s mind, I have created this diagram to show the various different areas of the architecture.&lt;/p&gt;&#10;&lt;p&gt; &lt;/p&gt;&#10;&lt;p&gt;&lt;img alt="asp-net-web-api-architecture" class="alignnone size-full" decoding="async" fetchpriority="high" height="693" sizes="(max-width: 543px) 100vw, 543px" src="https://bryanavery.co.uk/media/articles/2016/10/ASP.NET-Web-API-Architecture.png" srcset="https://bryanavery.co.uk/media/articles/2016/10/ASP.NET-Web-API-Architecture.png 543w, https://bryanavery.co.uk/media/articles/2016/10/ASP.NET-Web-API-Architecture-235x300.png 235w" width="543"/&gt;&lt;/p&gt;</description></item><item><title>Deployments Best Practices</title><link>https://bryanavery.co.uk/deployments-best-practices/</link><pubDate>Thu, 13 Oct 2016 11:00:10 +0000</pubDate><guid>https://bryanavery.co.uk/deployments-best-practices/</guid><description>&lt;header&gt;&#10;&lt;h1&gt;Table of Contents&lt;/h1&gt;&#10;&lt;/header&gt;&#10;&lt;div class="page"&gt;&#10;&lt;section class="first" id="deployments"&gt;&#10;&lt;div class="wrapper"&gt;&#10;&lt;article&gt;&#10;&lt;div class="container"&gt;&#10;&lt;ul class="toc"&gt;&#10;&lt;li&gt;&lt;a href="https://bryanavery.co.uk/index.html%3Fp=449.html#introduction"&gt;Introduction&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://bryanavery.co.uk/index.html%3Fp=449.html#the-workflow"&gt;The Workflow&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://bryanavery.co.uk/index.html%3Fp=449.html#development-environment"&gt;Development Environment&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://bryanavery.co.uk/index.html%3Fp=449.html#staging-environment"&gt;Staging Environment&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://bryanavery.co.uk/index.html%3Fp=449.html#production-environment"&gt;Production Environment&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://bryanavery.co.uk/index.html%3Fp=449.html#permissions"&gt;Permissions&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://bryanavery.co.uk/index.html%3Fp=449.html#conclusion"&gt;Conclusion&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;div&gt;&#10;&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;&#10;&lt;p&gt;This guide is aimed to help you better understand how to deal with deployments in your development workflow and provide some best practices. Sometimes a bad production deployment can ruin all the effort you have invested in a development process. Having a solid deployment workflow can become one of the greatest advantages of your team.&lt;/p&gt;&#10;&lt;p&gt;Before you start, I recommend reading our &lt;a href="https://bryanavery.co.uk/index.html%3Fp=450.html"&gt;Developing and Deploying with Branches&lt;/a&gt; guide first to get a general idea of how branches should be setup in your repository to be able to fully utilize tips from this guide. It’s a great read!&lt;/p&gt;&#10;&lt;h3 id="note-on-development-branch"&gt;Note on Development Branch&lt;/h3&gt;&#10;&lt;p&gt;In this guide you will see a lot of references to a branch called &lt;i&gt;development&lt;/i&gt;. In your repository you can use &lt;i&gt;master&lt;/i&gt; (Git), &lt;i&gt;trunk&lt;/i&gt; (Subversion) or &lt;i&gt;default&lt;/i&gt; (Mercurial) for the same purpose, there’s no need to create a branch specifically called “development”. I chose this name because it’s universal for all version control systems.&lt;/p&gt;&#10;&lt;h2 id="the-workflow"&gt;The Workflow&lt;/h2&gt;&#10;&lt;p&gt;Deployments should be treated as part of a development workflow, not as an afterthought. If you are developing a web site or an application, your workflow will usually include at least three environments: Development, Staging and Production. In that case the workflow might look like this:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Developers work on bugs and features in separate branches. Really minor updates can be committed directly to the stable development branch.&lt;/li&gt;&#10;&lt;li&gt;Once features are implemented, they are merged into the staging branch and deployed to the Staging environment for quality assurance and testing.&lt;/li&gt;&#10;&lt;li&gt;Once testing is complete, feature branches are merged into the development branch.&lt;/li&gt;&#10;&lt;li&gt;On the release date, the development branch is merged into production and then deployed to the Production environment.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;Let’s take a closer look at each environment to see what are the most efficient way to deploy each one of them.&lt;/p&gt;&#10;&lt;h2 id="development-environment"&gt;Development Environment&lt;/h2&gt;&#10;&lt;p&gt;If you make web applications, you don’t need a remote development environment, every developer should have their own local setup.&lt;/p&gt;&#10;&lt;p&gt;Many customers have Development environments set up with automatic deployments on every commit or push. While this gives developers a small advantage of not installing the site or the application on their computers to perform testing locally, it also wastes &lt;em&gt;a lot&lt;/em&gt; of time. Every tiny change must be committed, pushed, deployed, and only then it can be verified. If the change was made by mistake, a developer will have to revert it, push it, then redeploy.&lt;/p&gt;&#10;&lt;p&gt;Testing on a local computer removes the need to commit, push and deploy completely. Every change can be verified locally first, then, once it’s more or less stable, it can be pushed to a Staging environment for proper quality assurance testing.&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;However, what this does provide, is an environment that can ensure the auto-deployment to environment is successful and runs in an independent installation process far removed from the developers’ environment.&lt;/p&gt;&#10;&lt;div&gt;&#10;&lt;p&gt;&lt;strong&gt;We do not recommend using deployments for rapidly changing development environments. Running your software locally is the best choice for that sort of testing.&lt;/strong&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;We recommend to deploy to the development environment automatically on every commit or push.  This will ensure that the build process is full working.&lt;/strong&gt;&lt;/p&gt;&#10;&lt;h2 id="staging-environment"&gt;Staging Environment&lt;/h2&gt;&#10;&lt;p&gt;Once the features are implemented and considered fairly stable, they get merged into the staging branch and then automatically deployed to the Staging environment. This is when quality assurance kicks in: testers go to staging servers and verify that the code works as intended.&lt;/p&gt;&#10;&lt;p&gt;It is very handy to have a separate branch called &lt;i&gt;staging&lt;/i&gt; to represent your staging environment. It will allow developers to deploy multiple branches to the same server simultaneously, simply by merging everything that needs to be deployed to the staging branch. It will also help testers understand what exactly is on staging servers at the moment, just by looking inside the staging branch.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;We recommend always deploying major releases to staging at a scheduled time, of which the whole team is aware of.&lt;/strong&gt;&lt;/p&gt;&#10;&lt;h2 id="production-environment"&gt;Production Environment&lt;/h2&gt;&#10;&lt;p&gt;Once the feature is implemented and tested, it can be deployed to production. If the feature was implemented in a separate branch, it should be merged into a stable development branch first. The branches should be deleted after they are merged to avoid confusion between team members.&lt;/p&gt;&#10;&lt;p&gt;The next step is to make a to show the difference between the production and development branches to take a quick look at the code that will be deployed to production. This gives you one last chance to spot something that’s not ready or not intended for production. Things like debugger breakpoints, verbose logging or incomplete features.&lt;/p&gt;&#10;&lt;p&gt;Once the &lt;a href="https://git-scm.com/docs/git-diff"&gt;diff&lt;/a&gt; review is finished, you can merge the development branch into production and then initialize a deployment of the production branch to your production environment by hand. Specify a meaningful message for your deployment so that your team knows exactly what you deployed.&lt;/p&gt;&#10;&lt;p&gt;Make sure to only merge development branch into production when you actually plan to deploy. Don’t merge anything into production in advance. Merging on time will make files in your production branch match files on your actual production servers and will help everyone better understand the state of your production environment.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;We recommend always deploying major releases to production at a scheduled time, this should be a MANUALLY process not automated (This can be as simple as clicking a link to start the process going or moving some files, it just needs to be a human who activates the process), of which the whole team is aware of.&lt;/strong&gt;  Find the time when your application is least active and use that time to roll out updates. This may sound obvious, but make sure that it’s not too late in the day, because someone needs to be around after the deployment for at least a few hours to monitor the application and make sure the deployment went fine. Urgent production fixes can be deployed at any time.&lt;/p&gt;&#10;&lt;p&gt;After deployment finishes make sure to verify it. It is best to check all the features or fixes that you deployed to make sure they work properly in production. It is a big win if your deployment tool can send an email to all team members with a summary of changes after every deployment. This helps team members to understand what exactly went live and how to communicate it to customers. Beanstalk does this for you automatically.&lt;/p&gt;&#10;&lt;p&gt;Your deployment to production is now complete, time to pop champagne and celebrate with your team!&lt;/p&gt;&#10;&lt;h3 id="rolling-back"&gt;Rolling Back&lt;/h3&gt;&#10;&lt;p&gt;Sometimes deployments don’t go as planned and things break. In that case you have the possibility to rollback. However, you should be as careful with rollbacks as with production deployments themselves. Sometimes a rollback brings more havoc than the issue it was trying to fix. So first of all stay calm and don’t make any sudden moves. Before performing a rollback, answer the following questions:&lt;/p&gt;&#10;&lt;h4&gt;Did it break because of the code that I deployed, or did something else break?&lt;/h4&gt;&#10;&lt;p&gt;You can only rollback files that you deployed, so if the source of the issues is something else a rollback won’t be much help.&lt;/p&gt;&#10;&lt;h4&gt;Is it possible to rollback this release?&lt;/h4&gt;&#10;&lt;p&gt;Not all releases can be rolled back. Sometimes a release introduces a new database structure that is incompatible with the previous release. In that case if your rollback, your application will break.&lt;/p&gt;&#10;&lt;p&gt;If the answer to both questions is “yes”, you can rollback safely. After rollback is done, make sure to fix the bug that you discovered and commit it to either the development branch (if it was minor) or a separate bug-fix branch. Then proceed with the regular bug-fix branch → staging; bug-fix → development → production integration workflow.&lt;/p&gt;&#10;&lt;h3 id="deploying-urgent-fixes"&gt;Deploying Urgent Fixes&lt;/h3&gt;&#10;&lt;p&gt;Sometimes you need to deploy a bug-fix to production quickly, when your development branch is not ready for release yet. The workflow in that case stays the same as described above, but instead of merging the development branch into production you actually merge your bug-fix branch first into the development branch, then separately into production, without merging development into production. Then deploy the production branch as usual. This will ensure that only your bug-fix will be deployed to the production environment without all the other stuff from the development branch that’s not ready yet.&lt;/p&gt;&#10;&lt;p&gt;It is important to merge the bug-fix branch to both the development and production branches in this case, because your production branch should never include anything that doesn’t exist in your stable development branch. The development branch is where developers work all day, so if your fix is only in the production branch they will never see it and it can cause confusion.&lt;/p&gt;&#10;&lt;h3 id="automatic-deployments-to-production"&gt;Automatic Deployments to Production?&lt;/h3&gt;&#10;&lt;p&gt;I can’t stress enough how important it is for all production deployments to be performed and verified by a responsible human being. Using automatic deployments for Production environment is dangerous and can lead to unexpected results. If every commit is deployed to your production site automatically, imagine what happens when someone commits something by mistake or commits an incomplete feature in the middle of the night when the rest of the team is sleeping? &lt;strong&gt;Using automatic deployments makes your Production environment very vulnerable. Please don’t do that, always deploy to production manually.&lt;/strong&gt;&lt;/p&gt;&#10;&lt;h2 id="permissions"&gt;Permissions&lt;/h2&gt;&#10;&lt;p&gt;Every developer should be able to deploy to the Staging environment. They just need to make sure they don’t overwrite each other’s changes when they do. That’s exactly why the staging branch is a great help: all changes from all developers are getting merged into it so it contains all of them.&lt;/p&gt;&#10;&lt;p&gt;Your Production environment, ideally, should only be accessible to a limited number of experienced developers. These guys should always be prepared to fix the servers immediately after a deployment went rogue.&lt;/p&gt;&#10;&lt;h2 id="conclusion"&gt;Conclusion&lt;/h2&gt;&#10;&lt;p&gt;We’ve been using this workflow with many customers for many years to deploy their application. Some of these things were learned the hard way, through broken production servers. Following these guidelines and all production deployments will become incredibly smooth and won’t cause any stress at all.&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="http://guides.beanstalkapp.com/deployments/best-practices.html"&gt;Orginal Article&lt;/a&gt;&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;/article&gt;&#10;&lt;/div&gt;&#10;&lt;/section&gt;&#10;&lt;/div&gt;</description></item><item><title>Developing and Deploying with Branches</title><link>https://bryanavery.co.uk/developing-and-deploying-with-branches/</link><pubDate>Thu, 13 Oct 2016 09:21:35 +0000</pubDate><guid>https://bryanavery.co.uk/developing-and-deploying-with-branches/</guid><description>&lt;header&gt;&#10;&lt;h1&gt;Table of Contents&lt;/h1&gt;&#10;&lt;/header&gt;&#10;&lt;div class="page"&gt;&#10;&lt;section class="first" id="version-control"&gt;&#10;&lt;div class="wrapper"&gt;&#10;&lt;article&gt;&#10;&lt;div class="container"&gt;&#10;&lt;ul class="toc"&gt;&#10;&lt;li&gt;&lt;a href="https://bryanavery.co.uk/index.html%3Fp=450.html#introduction"&gt;Introduction&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://bryanavery.co.uk/index.html%3Fp=450.html#working-branch"&gt;Coding in master/trunk “branches”&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://bryanavery.co.uk/index.html%3Fp=450.html#branching-workflow"&gt;Branching Workflow&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://bryanavery.co.uk/index.html%3Fp=450.html#further-reading"&gt;Further Reading: Branching with Beanstalk&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;div&gt;&#10;&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;&#10;&lt;p&gt;Getting started with Version Control can be an eye-opening experience. You may have already said to yourself, &lt;q&gt;“How did I work without this?”&lt;/q&gt;. Now that you’ve got the basics of Version Control down, you want to start getting really productive by continuing to improve your workflow. Your next step is learning to code in branches.&lt;/p&gt;&#10;&lt;p&gt;Coding in branches is a simple practice that keeps you and your work more organised. Branches let you easily maintain your “in-progress” work separately from your completed, tested, and stable code. Not only is this an effective way to collaborate with others, but it will also allow you to automate the deployment of updates, when needed and fixes to your servers.&lt;/p&gt;&#10;&lt;h2 id="working-branch"&gt;Coding in master/trunk “branches”&lt;/h2&gt;&#10;&lt;p&gt;Even if you don’t know how to use branching in your development process, you’ve already been using a branch just by committing your code to version control. In all major version control systems, each repository contains at least one branch by default, your &lt;strong&gt;working branch&lt;/strong&gt;:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;in Subversion this is a folder called &lt;code class="cmd"&gt;trunk&lt;/code&gt;,&lt;/li&gt;&#10;&lt;li&gt;in Git this is a branch called &lt;code class="cmd"&gt;master&lt;/code&gt;.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;Without configuring anything, your first commit to any repository will be made to this working branch.&lt;/p&gt;&#10;&lt;p&gt;Each version control system has a different approach to creating, merging, and deleting branches. We’ll be focusing on overall development process, and suggest that you refer to the documentation of your preferred &lt;abbr title="Version Control System"&gt;VCS&lt;/abbr&gt; for specific details about commands:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="http://svnbook.red-bean.com/en/1.1/ch04.html"&gt;SVN Branching&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="http://www.git-scm.com/book/en/v2/Git-Branching-Basic-Branching-and-Merging"&gt;Git Branching&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="branching-workflow"&gt;Branching Workflow&lt;/h2&gt;&#10;&lt;p&gt;Using branches can seem complicated without some guidance. We’re going to help you by focusing on two specific uses for branches and the benefits of having them in your workflow.&lt;/p&gt;&#10;&lt;h3 id="branches-features"&gt;Benefits of Branches: Building Features &amp;amp; Fixing Bugs&lt;/h3&gt;&#10;&lt;p&gt;Most coding falls into one of these two categories: you’re either building new features or fixing bugs in an existing codebase. A problem occurs when those two things need to be happen at the same time.&lt;/p&gt;&#10;&lt;p&gt;Imagine that you’ve recently launched big &lt;i&gt;Feature X&lt;/i&gt;. Things are going well at first, so you move on to start the next task on your to-do list, awesome &lt;i&gt;Feature Y&lt;/i&gt;. You start coding and committing changes to your repository, but along the way discover a problem with big &lt;i&gt;Feature X&lt;/i&gt; that you need to fix right away. What do you do?&lt;/p&gt;&#10;&lt;p&gt;If all of your work is being done in the default working branch of your repository, you’ll need to figure out how to save the work you’ve done so far on &lt;i&gt;Feature Y&lt;/i&gt;, revert your repository to the state it was in when you deployed &lt;i&gt;Feature X&lt;/i&gt;, make your fix, and then re-introduce your work from &lt;i&gt;Feature Y&lt;/i&gt;. This is messy, and you could potentially lose some of your work or introduce new bugs.&lt;/p&gt;&#10;&lt;p&gt;Instead, you should be doing all of your work in a &lt;strong&gt;feature&lt;/strong&gt; or &lt;strong&gt;bug-fix&lt;/strong&gt; branches and let the &lt;abbr title="Version Control System"&gt;VCS&lt;/abbr&gt; do the hard work for you. You would branch your repository from the point where &lt;i&gt;Feature X&lt;/i&gt; was deployed, creating an alternate working copy for you to do new work on. Your &lt;i&gt;Feature Y&lt;/i&gt; branch includes the entire repository’s history and code, but a separate history “starts” from the moment the branch is created. This allows you to work on the &lt;i&gt;Feature Y&lt;/i&gt; branch, committing to your hearts content, without disturbing the code that you deployed to release &lt;i&gt;Feature X&lt;/i&gt;.&lt;/p&gt;&#10;&lt;p&gt;Only once the feature is tested and complete, ready for deployment, you can &lt;strong&gt;merge&lt;/strong&gt; that branch back into your main working branch.&lt;/p&gt;&#10;&lt;p&gt;This also means you can switch between a feature branch to the default working branch any time to create new branches from that point – like the bug-fix that you need to make. After switching back to the working branch, you would create a bug-fix branch. Working on the bug-fix in its own branch might not seem necessary if the fix is small, but following this practice will help you avoid situations where small bug-fixes turn into bigger bug-fixes, potentially leaving your working branch in a messy state.&lt;/p&gt;&#10;&lt;h4&gt;Best Practices with Feature &amp;amp; Bug Branches&lt;/h4&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Try to avoid committing unfinished work to your repository’s default working branch.&lt;/li&gt;&#10;&lt;li&gt;Create a branch any time you begin non-trivial work including features and complex bug-fixes.&lt;/li&gt;&#10;&lt;li&gt;Don’t forget to delete feature branches once they were merged into stable branch. This will keep your repository clean.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h3 id="branches-environments"&gt;Benefits of Branching: Server Environment Branches&lt;/h3&gt;&#10;&lt;p&gt;Another reason to use version control is so that you can use your repository as the source to deploy code to your servers. Much like feature and bug-fix branches, &lt;strong&gt;environment branches&lt;/strong&gt; make it easy for you to separate your in-progress code from your stable code. Using environment branches and deploying from them means you will always know &lt;em&gt;exactly&lt;/em&gt; what code is running on your servers in each of your environments.&lt;/p&gt;&#10;&lt;p&gt;We’ve been talking about your “default working branch” – but you can also think of this as your development environment branch. It’s a good idea to keep this branch clean – this is easily done by using feature and bug-fix branches and only merging them back to your development branch once they are tested. In other words, at any point in time your development branch should contain only stable code. Therefore, we will be using the name “stable” from now on in this guide to refer to this branch.&lt;/p&gt;&#10;&lt;h4&gt;Using Production and Staging Branches&lt;/h4&gt;&#10;&lt;p&gt;In addition to your development environment, you’re likely to have at least one other environment:&lt;strong&gt;production&lt;/strong&gt;, where your website or application actually runs. Having a production environment branch and making that the only source of code that goes to production ensures that you have a snapshot of what is on your production server at any time, and a granular history of what’s been added to production and when.&lt;/p&gt;&#10;&lt;p&gt;In most cases you will have a &lt;strong&gt;staging&lt;/strong&gt; environment as well, where your team or clients can review changes together. Having a staging environment branch will help you keep that environment with the same benefits as a production branch.&lt;/p&gt;&#10;&lt;h4&gt;Diff Branches for Easy Code Review &amp;amp; Release Notes&lt;/h4&gt;&#10;&lt;p&gt;When your development environment has been updated with features and bug-fixes that are tested, you can use your &lt;abbr title="Version Control System"&gt;VCS&lt;/abbr&gt; to do a &lt;a href="https://git-scm.com/docs/git-diff"&gt;diff&lt;/a&gt; between your stable branch and staging branch to see what would be deployed that’s not currently on staging. This is a great opportunity to look for low quality or incomplete code, debug code, and other development leftovers that shouldn’t be deployed. This &lt;a href="https://git-scm.com/docs/git-diff"&gt;diff&lt;/a&gt; can also be helpful in writing your release notes.&lt;/p&gt;&#10;&lt;h4&gt;Never Merge to Environment Branches Without Deploying&lt;/h4&gt;&#10;&lt;p&gt;In order to keep your environment branches in sync with the environments, it’s a best practice to only execute a merge into an environment branch at the time you intend to deploy. If you complete a merge without deploying, your environment branch will be out of sync with your actual production environment.&lt;/p&gt;&#10;&lt;p&gt;With environment branches, you never want to commit changes directly to the branch. By only merging code from your stable branch into staging or production branches, you ensure that changes are flowing in one direction: from feature and bug-fix branches to stable and staging environments, and from stable to production. This keeps your history clean, and again, lets you be confident about knowing what code is running in which environments.&lt;/p&gt;&#10;&lt;p&gt; &lt;/p&gt;&#10;&lt;h4&gt;Best Practices with Environment Branches&lt;/h4&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Use your repository’s default working branch as your “stable” branch.&lt;/li&gt;&#10;&lt;li&gt;Create a branch for each environment, including staging and production.&lt;/li&gt;&#10;&lt;li&gt;Never merge into an environment branch unless you are ready to deploy to that environment.&lt;/li&gt;&#10;&lt;li&gt;Perform a &lt;a href="https://git-scm.com/docs/git-diff"&gt;diff&lt;/a&gt; between branches before merging—this can help prevent merging something that wasn’t intended, and can also help with writing release notes.&lt;/li&gt;&#10;&lt;li&gt;Merges should only flow in one direction: first from feature to staging for testing; then from feature to stable once tested; then from stable to production to ship.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="further-reading"&gt;Further Reading: Branching with Beanstalk&lt;/h2&gt;&#10;&lt;p&gt;This is just an overview of some of the most common practices for using branches in version control. If you’re using Beanstalk, we’ve included some resources to help you take advantage of branching.&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="http://www.zennaware.com/cornerstone/helpbook/pages/working/tagging-and-branching/"&gt;Branching&lt;/a&gt; and &lt;a href="http://www.zennaware.com/cornerstone/helpbook/pages/working/merging/"&gt;Merging&lt;/a&gt; with Cornerstone (SVN)&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="http://www.git-tower.com/help/mac/branches-and-tags/create-local-branch"&gt;Branching&lt;/a&gt; and &lt;a href="http://www.git-tower.com/help/mac/branches-and-tags/merge-rebase"&gt;Merging&lt;/a&gt; with Tower (Git)&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;a href="http://guides.beanstalkapp.com/version-control/branching-best-practices.html"&gt;Original Article&lt;/a&gt;&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;footer&gt;&#10;&lt;div id="author"&gt;&lt;/div&gt;&#10;&lt;/footer&gt;&#10;&lt;/div&gt;&#10;&lt;/article&gt;&#10;&lt;/div&gt;&#10;&lt;/section&gt;&#10;&lt;/div&gt;</description></item><item><title>Visual Studio Team Services Security</title><link>https://bryanavery.co.uk/visual-studio-team-services-security/</link><pubDate>Thu, 13 Oct 2016 07:56:47 +0000</pubDate><guid>https://bryanavery.co.uk/visual-studio-team-services-security/</guid><description>&lt;p&gt;Using Azure can open up a can of worm around security and many customers have many concerns&lt;/p&gt;&#10;&lt;p&gt;Microsoft do a lot of things to keep your Team Service project safe and secure, refer to this link for details: &lt;a href="https://www.visualstudio.com/en-us/articles/team-services-security-whitepaper"&gt;Visual Studio Team Services Data Protection Overview&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Azure Security Center</title><link>https://bryanavery.co.uk/azure-security-center/</link><pubDate>Wed, 12 Oct 2016 08:40:01 +0000</pubDate><guid>https://bryanavery.co.uk/azure-security-center/</guid><description>&lt;p&gt;It is important that when using Azure that you take security very seriously, I’ve been looking around to see if I can get together as much information as I can to help businesses protect the environments that they relay on so much to run their businesses.&lt;/p&gt;</description></item><item><title>Azure Resource Manager Compute Templates</title><link>https://bryanavery.co.uk/azure-resource-manager-compute-templates/</link><pubDate>Mon, 30 May 2016 07:15:27 +0000</pubDate><guid>https://bryanavery.co.uk/azure-resource-manager-compute-templates/</guid><description>&lt;p&gt;Things have moved forward in the Microsoft’s Azure cloud platform since I very first started using Azure.  One thing is for sure is that the number of services available has grown and with this growth comes the responsibility of ensuring that you can successfully deploy what you have built with the minimum about of trouble in the quickest possible time.  Along came the Azure Resource Manager (ARM) which is the service used to provision resources in your Azure subscription. It was first announced at Build 2014 when the new Azure portal (&lt;a href="https://portal.azure.com" rel="noopener noreferrer" target="_blank"&gt;portal.azure.com&lt;/a&gt;) was announced and provides a new set of JSON API’s that are used to provision resources. Before ARM, developers and IT professionals used the Azure Service Management API and the old portal (&lt;a href="https://manage.windowsazure.com" rel="noopener noreferrer" target="_blank"&gt;manage.windowsazure.com&lt;/a&gt;) to provision resources. Both portals and sets support the of API’s. However, going forward you should be using ARM, the new API’s, and the new Azure portal to provision and manage your Azure resources.&lt;/p&gt;</description></item><item><title>Downgrading WordPress</title><link>https://bryanavery.co.uk/downgrading-wordpress/</link><pubDate>Fri, 15 Apr 2016 16:21:58 +0000</pubDate><guid>https://bryanavery.co.uk/downgrading-wordpress/</guid><description>&lt;p&gt;Have you ever updated to the newest version of WordPress, and then noticed that your site starts to have a bunch of problems? Don’t freak out. A lot of the times, it’s an issue with a plugin or theme that’s not compatible with the newest update. Sometimes (rarely) there’s an issue with the WordPress update itself. Whatever the case, one of of the quickest solutions to bring your site back to normal is to downgrade WordPress back to the previous version.&lt;/p&gt;</description></item><item><title>WooCommerce Shortcodes</title><link>https://bryanavery.co.uk/woocommerce-shortcodes/</link><pubDate>Fri, 15 Apr 2016 14:22:37 +0000</pubDate><guid>https://bryanavery.co.uk/woocommerce-shortcodes/</guid><description>&lt;p class="p1"&gt;&lt;span class="s1"&gt;The first four shortcodes are used for special WooCommerce pages and are sometimes automatically inserted into the pages by WooCommerce during installation. They should not otherwise be used. All others can be used throughout and can be used more than once.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>How to move a Joomla website</title><link>https://bryanavery.co.uk/how-to-move-a-joomla-website/</link><pubDate>Sat, 27 Feb 2016 20:56:00 +0000</pubDate><guid>https://bryanavery.co.uk/how-to-move-a-joomla-website/</guid><description>&lt;p&gt;So I’ve been volunteering for an NGO called Otra Cosa Network in Peru and as part of my volunteering I have been teaching young children to swim, but of course I get roped into helping with their website.  A busman’s holiday I know..!&lt;/p&gt;</description></item><item><title>The way to handle unauthorised requests to Ajax actions in ASP.NET MVC</title><link>https://bryanavery.co.uk/the-way-to-handle-unauthorised-requests-to-ajax-actions-in-asp-net-mvc/</link><pubDate>Thu, 18 Dec 2014 10:12:00 +0000</pubDate><guid>https://bryanavery.co.uk/the-way-to-handle-unauthorised-requests-to-ajax-actions-in-asp-net-mvc/</guid><description>&lt;h2&gt;Problem&lt;/h2&gt;&#10;&lt;p&gt;I have created a view that posts to an action via Ajax with the expectation that the action will return the requested data or an empty string.  Even better, I would like it to be configurable to return whatever value I see fit.&lt;/p&gt;</description></item><item><title>Creating and Publishing to NuGet</title><link>https://bryanavery.co.uk/creating-and-publishing-to-nuget/</link><pubDate>Fri, 23 May 2014 07:13:00 +0000</pubDate><guid>https://bryanavery.co.uk/creating-and-publishing-to-nuget/</guid><description>&lt;p&gt;Now that we have a Nuget Server installed and up and running we will want to deploy our packages.&lt;/p&gt;&#10;&lt;p&gt;First you’ll need to install the nuget.exe command line bootstrapper&lt;/p&gt;&#10;&lt;h2&gt;Installing NuGet.exe&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Download &lt;a href="http://nuget.codeplex.com/releases/view/58939" target="_blank"&gt;NuGet.exe&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;Place NuGet in a well known location such as c:\utils on your machine&lt;/li&gt;&#10;&lt;li&gt;Make sure that NuGet.exe is in your path&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;Then you can take two simple steps to generate your package&lt;/p&gt;</description></item><item><title>Setting up a NuGet Server</title><link>https://bryanavery.co.uk/setting-up-a-nuget-server/</link><pubDate>Fri, 23 May 2014 06:59:00 +0000</pubDate><guid>https://bryanavery.co.uk/setting-up-a-nuget-server/</guid><description>&lt;p&gt;Whether it’s your company restricts which third-party libraries their developers may use or just you need your own private repository to store all your protected work.  A NuGet Server is what you are after.&lt;/p&gt;&#10;&lt;p&gt;Before I start I need to mention a few things about NuGet Gallery, which I spent a good two days trying to get working correctly on Azure and failed and in the end ended up generating a very basic Nuget Server to host all the libraries.&lt;/p&gt;</description></item><item><title>User Stories</title><link>https://bryanavery.co.uk/user-stories/</link><pubDate>Tue, 20 May 2014 08:30:00 +0000</pubDate><guid>https://bryanavery.co.uk/user-stories/</guid><description>&lt;p&gt;&lt;span style="color: #222222; font-family: arial, sans-serif; font-size: 13px;"&gt;Here are some helpful pointers for writing &lt;/span&gt;&lt;span class="il" style="background-color: #ffffcc; color: #222222; font-family: arial, sans-serif; font-size: 13px;"&gt;User&lt;/span&gt;&lt;span style="color: #222222; font-family: arial, sans-serif; font-size: 13px;"&gt; &lt;/span&gt;&lt;span class="il" style="background-color: #ffffcc; color: #222222; font-family: arial, sans-serif; font-size: 13px;"&gt;Stories&lt;/span&gt;&lt;/p&gt;</description></item><item><title>GitHub for web Designers</title><link>https://bryanavery.co.uk/github-for-web-designers/</link><pubDate>Tue, 25 Mar 2014 08:44:00 +0000</pubDate><guid>https://bryanavery.co.uk/github-for-web-designers/</guid><description>&lt;p&gt;Unless you’re a one person web shop with no team to collaborate with, you’ve experienced the frustration that goes along with file sharing. No matter how hard you try, when multiple people are working on a single project without a version control system in place things get chaotic.&lt;/p&gt;</description></item><item><title>Google authentication get email from ASP.NET Identity</title><link>https://bryanavery.co.uk/google-authentication-get-email-from-asp-net-identity/</link><pubDate>Sat, 08 Mar 2014 06:47:00 +0000</pubDate><guid>https://bryanavery.co.uk/google-authentication-get-email-from-asp-net-identity/</guid><description>&lt;p&gt;So how do you obtain the external user email (the one authentication by google), first name and name in an ASP.NET website using ASP.NET Identity?&lt;/p&gt;&#10;&lt;pre class="brush: c-sharp;"&gt;var email = externalIdentity.FindFirstValue(ClaimTypes.Email);&lt;/pre&gt;&#10;&lt;p&gt;and here is getting the type&lt;/p&gt;</description></item><item><title>ttt</title><link>https://bryanavery.co.uk/ttt/</link><pubDate>Wed, 05 Mar 2014 06:44:00 +0000</pubDate><guid>https://bryanavery.co.uk/ttt/</guid><description>&lt;p style="margin: 0px 0px 1em; padding: 0px; border: 0px; font-size: 14px; vertical-align: baseline; clear: both; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; line-height: 17.804800033569336px;"&gt;I can’t believe I couldn’t find a working solution to this after an hour of searching. I’m following &lt;a href="http://www.dotnetcurry.com/showarticle/?ID=941" rel="nofollow" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; background-color: transparent; color: #4a6b82; text-decoration: none; cursor: pointer;"&gt;this article&lt;/a&gt;on Entity Framework 6.0 which gives a simple walk-through on Code First. I created the project and installed the latest &lt;a href="https://www.nuget.org/packages/EntityFramework/6.0.2" rel="nofollow" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; background-color: transparent; color: #4a6b82; text-decoration: none; cursor: pointer;"&gt;EF Nuget package&lt;/a&gt; for the project to compile. I also verified that I have Microsoft SQL Server 2012 Express LocalDB installed which came with Visual Studio 2013. I don’t have any other instances of SQL installed on my local computer. The program runs and entries are added to the database and outputted in the console. But when the article says “check your localdb” it doesn’t say how! I don’t see any ‘.mdf’ or ‘.ldf’ files created under the project folder. I tried every way to connect Visual Studio’s Server Explorer to LocalDB. The wizard cannot locate &lt;code style="margin: 0px; padding: 1px 5px; border: 0px; vertical-align: baseline; background-color: #eeeeee; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; white-space: pre-wrap;"&gt;(localdb)&lt;/code&gt; or cannot find any provider in Server Explorer to accept connection string like &lt;code style="margin: 0px; padding: 1px 5px; border: 0px; vertical-align: baseline; background-color: #eeeeee; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; white-space: pre-wrap;"&gt;(localdb)\v11.0;Integrated Security=true;"&lt;/code&gt; I’ve seen this asked several places in StackOverflow but no answer works or marked as answer. Please help, this doesn’t have to be this frustrating!&lt;/p&gt;</description></item><item><title>WCF Attributes and what they all mean</title><link>https://bryanavery.co.uk/wcf-attributes-and-what-they-all-mean/</link><pubDate>Sun, 02 Feb 2014 13:01:00 +0000</pubDate><guid>https://bryanavery.co.uk/wcf-attributes-and-what-they-all-mean/</guid><description>&lt;p style="margin: 0px 0px 1em; padding: 0px; border: 0px; font-size: 14px; vertical-align: baseline; clear: both; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; line-height: 18px;"&gt;&lt;span style="font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif;"&gt;&lt;span style="font-size: 14px; line-height: 18px;"&gt;The online MSDN documentation is your first source for things like that:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Active links on Bootstrap Navbar with ASP.NET MVC</title><link>https://bryanavery.co.uk/active-links-on-bootstrap-navbar-with-asp-net-mvc/</link><pubDate>Mon, 20 Jan 2014 14:06:00 +0000</pubDate><guid>https://bryanavery.co.uk/active-links-on-bootstrap-navbar-with-asp-net-mvc/</guid><description>&lt;p&gt;If you have used &lt;a href="http://getbootstrap.com/" target="_blank"&gt;Bootstrap&lt;/a&gt; with your ASP.NET MVC application, you might have faced some issues with implementing active links of it’s Navbar component. We’ll have to dynamically add a css class called active to the particular menu item in order to make it selected in the Navbar. Here is a HtmlHelper extension which is capable of rendering menu items as well as drop-down menu items. I’ve used ASP.NET MVC 5 with Razor and Bootstrap 3.&lt;/p&gt;</description></item><item><title>How to Rank your search results with multiple search terms using LINQ and EntityFramework</title><link>https://bryanavery.co.uk/how-to-rank-your-search-results-with-multiple-search-terms-using-linq-and-entityframework/</link><pubDate>Tue, 31 Dec 2013 11:59:00 +0000</pubDate><guid>https://bryanavery.co.uk/how-to-rank-your-search-results-with-multiple-search-terms-using-linq-and-entityframework/</guid><description>&lt;p&gt;I have always used a ranked search criteria, it’s the only true way to get good results back from a data set.  But I’ve been doing my ranking within C# code.  But this got all the data from the data source and then ranked the results.  This is very poor on performance, as we should only be returning back the results for the page size we require.&lt;/p&gt;</description></item><item><title>Backup SQL Azure</title><link>https://bryanavery.co.uk/backup-sql-azure/</link><pubDate>Sat, 28 Dec 2013 10:36:00 +0000</pubDate><guid>https://bryanavery.co.uk/backup-sql-azure/</guid><description>&lt;p&gt;There are a number of options for backing up SQL Azure, which can be found here:&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="http://blogs.msdn.com/b/windows_azure_technical_support_wats_team/archive/2013/03/04/different-ways-to-backup-your-windows-azure-sql-database/" target="_blank"&gt;Different ways to Backup your Windows Azure SQL Database&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;I like the Azure way, which is just exporting, importing and setting a scheduled&lt;/p&gt;</description></item><item><title>Vertical And Horizontal Privilege Escalation</title><link>https://bryanavery.co.uk/vertical-and-horizontal-privilege-escalation/</link><pubDate>Thu, 19 Dec 2013 14:02:00 +0000</pubDate><guid>https://bryanavery.co.uk/vertical-and-horizontal-privilege-escalation/</guid><description>&lt;p&gt;What is Vertical And Horizontal Privilege Escalation?  Does your application support for this internally authorisation verification of work?  I expect not, it is really an over sight of the architecture and application planning that this is missed out and more importantly when it becomes an issue it is more often than not too late to implement any changes.&lt;/p&gt;</description></item><item><title>Make Fake MVC Objects for testing</title><link>https://bryanavery.co.uk/make-fake-mvc-objects-for-testing/</link><pubDate>Thu, 19 Dec 2013 11:53:00 +0000</pubDate><guid>https://bryanavery.co.uk/make-fake-mvc-objects-for-testing/</guid><description>&lt;p&gt;If you need to create some Fake MVC objects for testing MVC objects then here you are:&lt;/p&gt;&#10;&lt;h2&gt;FakeControllerContext&lt;/h2&gt;&#10;&lt;pre class="brush: c-sharp;"&gt;using System.Collections.Specialized;&#10;using System.Web;&#10;using System.Web.Mvc;&#10;using System.Web.Routing;&#10;using System.Web.SessionState;&#10;&lt;p&gt;using MvcContrib.TestHelper.Fakes;&lt;/p&gt;&#10;&lt;p&gt;public class FakeControllerContext : ControllerContext&#10;{&#10;public FakeControllerContext(IController controller)&#10;: this(controller, null, null, null, null, null, null)&#10;{&#10;}&lt;/p&gt;&#10;&lt;pre&gt;&lt;code&gt;public FakeControllerContext(IController controller, HttpCookieCollection cookies)&#10; : this(controller, null, null, null, null, cookies, null)&#10;{&#10;}&#10;&#10;public FakeControllerContext(IController controller, SessionStateItemCollection sessionItems)&#10; : this(controller, null, null, null, null, null, sessionItems)&#10;{&#10;}&#10; &#10;public FakeControllerContext(IController controller, NameValueCollection formParams)&#10; : this(controller, null, null, formParams, null, null, null)&#10;{&#10;}&#10; &#10;public FakeControllerContext(IController controller, NameValueCollection formParams, NameValueCollection queryStringParams)&#10; : this(controller, null, null, formParams, queryStringParams, null, null)&#10;{&#10;}&#10; &#10;public FakeControllerContext(IController controller, string userName)&#10; : this(controller, userName, null, null, null, null, null)&#10;{&#10;}&#10; &#10;public FakeControllerContext(IController controller, string userName, string[] roles)&#10; : this(controller, userName, roles, null, null, null, null)&#10;{&#10;}&#10; &#10;public FakeControllerContext&#10; (&#10; IController controller,&#10; string userName,&#10; string[] roles,&#10; NameValueCollection formParams,&#10; NameValueCollection queryStringParams,&#10; HttpCookieCollection cookies,&#10; SessionStateItemCollection sessionItems&#10; )&#10; : base(new FakeHttpContext(new FakePrincipal(new FakeIdentity(userName), roles), formParams, queryStringParams, cookies, sessionItems), new RouteData(), (Controller)controller)&#10;{ }&#10;&lt;/code&gt;&lt;/pre&gt;&#10;&lt;p&gt;}&lt;/pre&gt;</description></item><item><title>Disclaimer Page using MVC</title><link>https://bryanavery.co.uk/disclaimer-page-using-mvc/</link><pubDate>Wed, 18 Dec 2013 13:17:00 +0000</pubDate><guid>https://bryanavery.co.uk/disclaimer-page-using-mvc/</guid><description>&lt;p&gt;If you ever need a disclaimer page in MVC, there are a few things you need to consider, the first is you should not be able to get to a page without agreeing to the disclaimer and if you have to re-login then you need to be presented with the disclaimer page again.&lt;/p&gt;</description></item><item><title>What is the difference between running in Debug and Release mode?</title><link>https://bryanavery.co.uk/what-is-the-difference-between-running-in-debug-and-release-mode/</link><pubDate>Tue, 17 Dec 2013 13:41:00 +0000</pubDate><guid>https://bryanavery.co.uk/what-is-the-difference-between-running-in-debug-and-release-mode/</guid><description>&lt;p&gt;Is the only difference between Debug and Release configurations that Debug have the DEBUG constant defined, and Release produces the Optimize code?&lt;/p&gt;&#10;&lt;ol&gt;&#10;&lt;li&gt;Are there performance differences between these two configurations. Are there any specific type of code that will cause big differences in performance here, or is it actually not that important?&lt;/li&gt;&#10;&lt;li&gt;Are there any type of code that will run fine under the Debug configuration that might fail under Release configuration, or can you be certain that code that is tested and working fine under the Debug configuration will also work fine under Release configuration.&lt;/li&gt;&#10;&lt;/ol&gt;&#10;&lt;p&gt;The C# compiler itself doesn’t alter the emitted IL a great deal in the Release build. Notable is that it no longer emits the NOP opcodes that allow you to set a breakpoint on a curly brace. The big one is the optimizer that’s built into the JIT compiler. It does make the following optimizations:&lt;/p&gt;</description></item><item><title>Unit Testing a Private Method</title><link>https://bryanavery.co.uk/unit-testing-a-private-method/</link><pubDate>Tue, 17 Dec 2013 11:11:00 +0000</pubDate><guid>https://bryanavery.co.uk/unit-testing-a-private-method/</guid><description>&lt;p&gt;With Visual Studio keep changing the way you create unit tests I thought I’d document down how to test a private method the easy way.&lt;/p&gt;&#10;&lt;p&gt;Here is a simple HomeController and we want to test that the GetPageSize method return 20 in a unit test.&lt;/p&gt;</description></item><item><title>Automation Testing</title><link>https://bryanavery.co.uk/automation-testing/</link><pubDate>Tue, 17 Dec 2013 07:50:00 +0000</pubDate><guid>https://bryanavery.co.uk/automation-testing/</guid><description>&lt;p&gt;&lt;a href="https://bryanavery.co.uk/file.axd?file=2013/12/Automation+Fesability.docx"&gt;Automation Fesability.docx (259.00 kb)&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="https://bryanavery.co.uk/file.axd?file=2013/12/Automation+tools+and+estimation.docx"&gt;Automation tools and estimation.docx (16.94 kb)&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="https://bryanavery.co.uk/file.axd?file=2013/12/EXCEL-+SHEET+for+estimation.xlsx"&gt;EXCEL- SHEET for estimation.xlsx (21.06 kb)&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Concurrency</title><link>https://bryanavery.co.uk/concurrency/</link><pubDate>Fri, 13 Dec 2013 08:34:00 +0000</pubDate><guid>https://bryanavery.co.uk/concurrency/</guid><description>&lt;p&gt;Hisenbugs&lt;/p&gt;&#10;&lt;p&gt;Hard to test concurrency, useally have test over a 5 week period and when you find the issues it is hard to reproduce&lt;/p&gt;&#10;&lt;p&gt;Lots of threads, and the behaviour of the program changes state and the interleaving changes and therefore it becomes hard to reproduce the concurrency issue, this is hope based testing, running on n number of machines and hope that we find a concurrency bug.  This is not only costly, in having the ability to run all the processes on multiple machines, the resource involved in managing the logistics for running all the tests and more importantly if you find a concurrency issue can you reproduce the bug.&lt;/p&gt;</description></item><item><title>Migration from SQL to SQL Azure</title><link>https://bryanavery.co.uk/migration-from-sql-to-sql-azure/</link><pubDate>Wed, 04 Dec 2013 05:17:00 +0000</pubDate><guid>https://bryanavery.co.uk/migration-from-sql-to-sql-azure/</guid><description>&lt;h2&gt;Tasks in Migration&lt;/h2&gt;&#10;&lt;ol&gt;&#10;&lt;li&gt;Migrate users and login ID’s&lt;/li&gt;&#10;&lt;li&gt;Map data types&lt;/li&gt;&#10;&lt;li&gt;Map database objects: tables, triggers, views, stored procedures&lt;/li&gt;&#10;&lt;li&gt;Update incompatible objects to work with SQL Azure&lt;/li&gt;&#10;&lt;li&gt;Update application to work with SQL Azure&lt;/li&gt;&#10;&lt;li&gt;Migrate data to SQL Azure&lt;/li&gt;&#10;&lt;/ol&gt;</description></item><item><title>Visual Studio 2013 requires Internet Explorer 10 – how to install without IE10</title><link>https://bryanavery.co.uk/visual-studio-2013-requires-internet-explorer-10-how-to-install-without-ie10/</link><pubDate>Thu, 31 Oct 2013 12:53:00 +0000</pubDate><guid>https://bryanavery.co.uk/visual-studio-2013-requires-internet-explorer-10-how-to-install-without-ie10/</guid><description>&lt;p&gt;Not my fix, but it works&lt;/p&gt;&#10;&lt;pre class="brush: c-sharp;"&gt;@ECHO OFF&#10;&lt;p&gt;:IE10HACK&#10;REG ADD &amp;ldquo;HKLM\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer&amp;rdquo; /v Version /t REG_SZ /d &amp;ldquo;9.10.9200.16384&amp;rdquo; /f&#10;REG ADD &amp;ldquo;HKLM\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer&amp;rdquo; /v svcVersion /t REG_SZ /d &amp;ldquo;10.0.9200.16384&amp;rdquo; /f&#10;REG ADD &amp;ldquo;HKLM\SOFTWARE\Microsoft\Internet Explorer&amp;rdquo; /v Version /t REG_SZ /d &amp;ldquo;9.10.9200.16384&amp;rdquo; /f&#10;REG ADD &amp;ldquo;HKLM\SOFTWARE\Microsoft\Internet Explorer&amp;rdquo; /v svcVersion /t REG_SZ /d &amp;ldquo;10.0.9200.16384&amp;rdquo; /f&#10;GOTO EXIT&lt;/p&gt;&#10;&lt;p&gt;:REVERTIE&#10;REG DELETE &amp;ldquo;HKLM\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer&amp;rdquo; /v svcVersion&#10;REG DELETE &amp;ldquo;HKLM\SOFTWARE\Microsoft\Internet Explorer&amp;rdquo; /v svcVersion&#10;REG ADD &amp;ldquo;HKLM\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer&amp;rdquo; /v Version /t REG_SZ /d &amp;ldquo;8.0.7601.17514&amp;rdquo; /f&#10;REG ADD &amp;ldquo;HKLM\SOFTWARE\Microsoft\Internet Explorer&amp;rdquo; /v Version /t REG_SZ /d &amp;ldquo;8.0.7601.17514&amp;rdquo; /f&#10;GOTO EXIT&lt;/p&gt;&#10;&lt;p&gt;:EXIT&lt;/pre&gt;</description></item><item><title>URL Activity Tampering and how to prevent it in MVC</title><link>https://bryanavery.co.uk/url-activity-tampering-and-how-to-prevent-it-in-mvc/</link><pubDate>Wed, 30 Oct 2013 13:04:00 +0000</pubDate><guid>https://bryanavery.co.uk/url-activity-tampering-and-how-to-prevent-it-in-mvc/</guid><description>&lt;p&gt;No web applications are developed without concerning the security issues. But it is not sure whether the security measures are implemented correctly and the applications are well protected. We could see a lot of web applications query string parameters in plain string which are easy to manipulate and way to escalate restricted resources. Even the URL parameters are encrypted there is still a chance of a bruteforce attack by manipulating the encrypted hash and it yields when the database is large where the chance of matching a random hash is high. So it is clear the importance to protect the URL in the web application is necessary for all programming platforms. Here, this is discussed with reference to ASP.NET MVC and the utility class is presented.&lt;/p&gt;</description></item><item><title>Clean Content to help searching</title><link>https://bryanavery.co.uk/clean-content-to-help-searching/</link><pubDate>Mon, 28 Oct 2013 11:43:00 +0000</pubDate><guid>https://bryanavery.co.uk/clean-content-to-help-searching/</guid><description>&lt;p&gt;One of the issue we all faced with is when a user searches for content, we are allowing the end user to be able to search for anything and this could result in unnecessary searching or cause the backend to perform searches which could result in DOS attacks via SQL.&lt;/p&gt;</description></item><item><title>URL Validator</title><link>https://bryanavery.co.uk/url-validator/</link><pubDate>Fri, 25 Oct 2013 08:14:00 +0000</pubDate><guid>https://bryanavery.co.uk/url-validator/</guid><description>&lt;p&gt;I needed to check to see if a URL that the user was entering was a valid Url, does it contain HTTP:// or HTTPS:// I ended up writing a small ValidationAttribute to add to the collection I am now building up, here is the code:&lt;/p&gt;</description></item><item><title>Using the WebGrid in MVC correctly</title><link>https://bryanavery.co.uk/using-the-webgrid-in-mvc-correctly/</link><pubDate>Tue, 15 Oct 2013 13:37:00 +0000</pubDate><guid>https://bryanavery.co.uk/using-the-webgrid-in-mvc-correctly/</guid><description>&lt;p&gt;I know the WebGrid is a basic Grid control, but sometimes you are constrained with what you can use with a customer and WebGrid is by default from Microsoft so it is safe to use and does not require any unknown third party tools to be installed.&lt;/p&gt;</description></item><item><title>Catching Exceptions with Elmah within WCF</title><link>https://bryanavery.co.uk/catching-exceptions-with-elmah-within-wcf/</link><pubDate>Wed, 09 Oct 2013 13:14:00 +0000</pubDate><guid>https://bryanavery.co.uk/catching-exceptions-with-elmah-within-wcf/</guid><description>&lt;p&gt;We all use the excellent ELMAH to deal with unhandled exceptions in an ASP.NET 3.5 web or MVC application. This works extremely well for all of the site, now what about WCF how can we get Elmah to work for us?&lt;/p&gt;</description></item><item><title>Removing and Cleaning search content to prevent DoS attacks</title><link>https://bryanavery.co.uk/removing-and-cleaning-search-content-to-prevent-dos-attacks/</link><pubDate>Tue, 08 Oct 2013 14:37:00 +0000</pubDate><guid>https://bryanavery.co.uk/removing-and-cleaning-search-content-to-prevent-dos-attacks/</guid><description>&lt;p&gt;There are many ways to search a system, what we have to be careful of is making sure that the search does not cause a DoS (Denial of Service) attack.&lt;/p&gt;&#10;&lt;p&gt;So following on from my article &lt;a href="https://bryanavery.co.uk/post/2013/10/01/Denial-Of-Service-attacks-via-SQL-Wildcards-should-be-prevented/" target="_blank"&gt;Denial Of Service (DoS) attacks via SQL Wildcards&lt;/a&gt; should be prevented here is a method to remove and clean up the search to prevent such an attack.&lt;/p&gt;</description></item><item><title>MVC way to check the File Extension</title><link>https://bryanavery.co.uk/mvc-way-to-check-the-file-extension/</link><pubDate>Fri, 04 Oct 2013 10:07:00 +0000</pubDate><guid>https://bryanavery.co.uk/mvc-way-to-check-the-file-extension/</guid><description>&lt;p&gt;Following on from my article about checking for the &lt;a href="https://bryanavery.co.uk/post/2013/06/25/Determine-which-file-type-has-been-uploaded/"&gt;file signature&lt;/a&gt; to ensure that the file is who it says it is&lt;/p&gt;&#10;&lt;p&gt;I decide to take it further and produce a Data Validation attribute, I found that the Microsoft.Web.Mvc.dll library already has one ,but it only checks for the file names, which is generally okay.&lt;/p&gt;</description></item><item><title>File Upload does not check content</title><link>https://bryanavery.co.uk/file-upload-does-not-check-content/</link><pubDate>Thu, 03 Oct 2013 12:30:00 +0000</pubDate><guid>https://bryanavery.co.uk/file-upload-does-not-check-content/</guid><description>&lt;p&gt;Is it possible to upload files of any type to the server through web application’s functionality?&lt;/p&gt;&#10;&lt;p&gt;Only file extension restrictions were could be enforced and the server may not perform any content checking (apart from possible anti-virus checks).&lt;/p&gt;</description></item><item><title>SSL Vulnerable to BEAST attack</title><link>https://bryanavery.co.uk/ssl-vulnerable-to-beast-attack/</link><pubDate>Thu, 03 Oct 2013 09:31:00 +0000</pubDate><guid>https://bryanavery.co.uk/ssl-vulnerable-to-beast-attack/</guid><description>&lt;p&gt;A vulnerability exists in SSL 3.0 and TLS 1.0 that could allow information disclosure if an attacker intercepts encrypted traffic served from an affected system. The weakness is down to insufficiently randomised data being used for the Initialisation Vectors (IV) within the CBC-mode encryption algorithms. The exploit can be performed through multiple injection points, both native to the browser’s functionality.&lt;/p&gt;</description></item><item><title>Verbose Error Messages</title><link>https://bryanavery.co.uk/verbose-error-messages/</link><pubDate>Thu, 03 Oct 2013 09:25:00 +0000</pubDate><guid>https://bryanavery.co.uk/verbose-error-messages/</guid><description>&lt;p&gt;The software generates an error message that includes sensitive information about its environment, users, or associated data.  &lt;/p&gt;&#10;&lt;h2&gt;Extended Description&lt;/h2&gt;&#10;&lt;p&gt;The sensitive information may be valuable information on its own (such as a password), or it may be useful for launching other, more deadly attacks. If an attack fails, an attacker may use error information provided by the server to launch another more focused attack. For example, an attempt to exploit a path traversal weakness might yield the full pathname of the installed application. In turn, this could be used to select the proper number of “..” sequences to navigate to the targeted file. An attack using SQL injection might not initially succeed, but an error message could reveal the malformed query, which would expose query logic and possibly even passwords or other sensitive information used within the query. &lt;/p&gt;</description></item><item><title>Environment issue – Untrusted Certificate</title><link>https://bryanavery.co.uk/environment-issue-untrusted-certificate/</link><pubDate>Thu, 03 Oct 2013 09:12:00 +0000</pubDate><guid>https://bryanavery.co.uk/environment-issue-untrusted-certificate/</guid><description>&lt;p&gt;Certificate is singed by an unrecognised certificate authority.  If a browser receives a self-signed certificate, it pops up a warning, and the burden falls to the user to confirm the identity.  Pushing this decision to the user is ultimately what opens up the possibility of a man-in-the-middle (MITM) attack.  The security issue is not with self-signed certificates, but with the way users interact with them in the browser.&lt;/p&gt;</description></item><item><title>Denial Of Service (DoS) attacks via SQL Wildcards should be prevented</title><link>https://bryanavery.co.uk/denial-of-service-dos-attacks-via-sql-wildcards-should-be-prevented/</link><pubDate>Tue, 01 Oct 2013 14:21:00 +0000</pubDate><guid>https://bryanavery.co.uk/denial-of-service-dos-attacks-via-sql-wildcards-should-be-prevented/</guid><description>&lt;p&gt;SQL Wildcard attacks force the underlying database to carry out CPU-intensive queries by using several wildcards. This vulnerability generally exists in search functionalities of web applications. Successful exploitation of this attack will cause Denial of Service (DoS).&lt;/p&gt;</description></item><item><title>HTTP Header Disclosure</title><link>https://bryanavery.co.uk/http-header-disclosure/</link><pubDate>Tue, 01 Oct 2013 13:26:00 +0000</pubDate><guid>https://bryanavery.co.uk/http-header-disclosure/</guid><description>&lt;h2&gt;Vulnerability overview/description&lt;/h2&gt;&#10;&lt;p&gt;Due to unsanitized user input it is possible to inject arbitrary HTTP header values in certain HTTP responses of the Satellite Server. This can be exploited, for example, to perform session fixation and malicious redirection attacks via the Set-Cookie and the Refresh headers. Moreover, the Satellite Server caches these HTTP responses with the injected HTTP header resulting in all further requests to the same resource being served with the poisoned HTTP response, while these objects remain in cache. &lt;/p&gt;</description></item><item><title>User Enumeration – Login failure messages shouldn’t give out any information that results in vulnerabilities.</title><link>https://bryanavery.co.uk/user-enumeration-login-failure-messages-shouldnt-give-out-any-information-that-results-in-vulnerabilities/</link><pubDate>Tue, 01 Oct 2013 11:35:00 +0000</pubDate><guid>https://bryanavery.co.uk/user-enumeration-login-failure-messages-shouldnt-give-out-any-information-that-results-in-vulnerabilities/</guid><description>&lt;p&gt;Is it possible to enumerate user account details within the Web application via the logon page?&lt;/p&gt;&#10;&lt;p&gt;Where an application requires account details to retrieve other information, it may be possible to enumerate the details based on the error message returned by the application.&lt;/p&gt;</description></item><item><title>PenTest where to start</title><link>https://bryanavery.co.uk/pentest-where-to-start/</link><pubDate>Tue, 01 Oct 2013 10:35:00 +0000</pubDate><guid>https://bryanavery.co.uk/pentest-where-to-start/</guid><description>&lt;p&gt;I would like to secure up an MVC application, and one way of insuring a secure application is to run through pentesting, Penetration Testing, but what is pentesting?&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="http://en.wikipedia.org/wiki/Penetration_test" target="_blank"&gt;Wikipedia&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;em&gt;A penetration test, occasionally pentest, is a method of evaluating computer and network security by simulating an attack on a computer system or network from external and internal threats. The process involves an active analysis of the system for any potential vulnerabilities that could result from poor or improper system configuration, both known and unknown hardware or software flaws, or operational weaknesses in process or technical countermeasures. This analysis is carried out from the position of a potential attacker and can involve active exploitation of security vulnerabilities.&lt;/em&gt;&lt;/p&gt;</description></item><item><title>Elmah or Microsoft Enterprise Library for Exception logging</title><link>https://bryanavery.co.uk/elmah-or-microsoft-enterprise-library-for-exception-logging/</link><pubDate>Thu, 29 Aug 2013 16:21:00 +0000</pubDate><guid>https://bryanavery.co.uk/elmah-or-microsoft-enterprise-library-for-exception-logging/</guid><description>&lt;p&gt; &lt;/p&gt;&#10;&lt;p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"&gt;&lt;strong&gt;&lt;span style="font-size: 12.0pt; font-family: 'Times New Roman','serif'; mso-fareast-language: EN-GB;"&gt;Enterprise Library Logging Application Block&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&#10;&lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;The Enterprise Library Logging Application Block simplifies the implementation of common logging functions. You can use the Logging Application Block to write information to a variety of locations:&lt;/span&gt;&lt;/p&gt;</description></item><item><title>No Caching in any Browser</title><link>https://bryanavery.co.uk/no-caching-in-any-browser/</link><pubDate>Wed, 21 Aug 2013 11:09:00 +0000</pubDate><guid>https://bryanavery.co.uk/no-caching-in-any-browser/</guid><description>&lt;p&gt;I need to stop caching across all browsers of my website for security reasons.  This has been driving me nuts over the past two weeks, as every method I try just keep allow some caching to be stored.  Easiest way to check is by pressing the back key on the browsers window as the results should update.&lt;/p&gt;</description></item><item><title>Bug Process</title><link>https://bryanavery.co.uk/bug-process/</link><pubDate>Fri, 16 Aug 2013 11:32:00 +0000</pubDate><guid>https://bryanavery.co.uk/bug-process/</guid><description>&lt;div class="ExternalClass63B3A7D694DD4CBA8100B4E24A26ECA3"&gt;&lt;strong&gt;&lt;span style="font-size: small;"&gt;Background&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&#10;&lt;div class="ExternalClass63B3A7D694DD4CBA8100B4E24A26ECA3"&gt;&#10;&lt;div&gt; &lt;/div&gt;&#10;&lt;div&gt; &lt;/div&gt;&#10;&lt;div&gt;&#10;&lt;p&gt;&lt;img alt="" decoding="async" src="https://bryanavery.co.uk/uploads/2013/8/Bug%20Process%20-%20Stage%201.png"/&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt;  Click the process for a larger version.&lt;/p&gt;&lt;/div&gt;&#10;&lt;div&gt; &lt;/div&gt;&#10;&lt;div&gt;When a bug is first created it is assigned a nominal story point value of 1.  This value is intended to cover the investigation phase of the bug only (or a fix if it’s found to be a small issue).  Having a story point value against the bug  (even if it only covers investigation initially) means that we can allocate each bug into a sprint along with other backlog items and gives a window of time to investigate the problem.&lt;/div&gt;&#10;&lt;div&gt;The outcome of this stage should be either:&lt;/div&gt;&#10;&lt;ol&gt;&#10;&lt;li&gt;Bug resolved; should only occur with small bugs where the issue was found, fixed and re-tested within the allocated tasked hours&lt;/li&gt;&#10;&lt;li&gt;Further investigation required; in which case the story-point value of the bug should be increased to indicate that the problem is very complex and was not able to even be progressed during the first pass through the stage&lt;/li&gt;&#10;&lt;li&gt;Investigation completed; where the problem has been documented within the bug item and a number of tasks (with associated hours assigned) have been created which detail how to resolve the problem&lt;/li&gt;&#10;&lt;/ol&gt;&#10;&lt;div&gt;Bugs which have not progressed (e.g. outcome 2 in the list above) should be re-story-pointed and added back into the main backlog to progress through stage 1 again at a later date.  Obviously bugs which have been resolved (outcome 1) can be marked as such and bugs which have been investigated and tasked (outcome 3) can be added back into the product backlog for assigning to a future sprint.&lt;/div&gt;&#10;&lt;div&gt; &lt;/div&gt;&#10;&lt;div&gt;&lt;strong&gt;Note: &lt;/strong&gt; The important point to note about this phase is that it should be considered time-boxed based on what time is allocated to the tasks created for the bug at sprint planning – based on the default story point value and current velocity, this should be roughly around 3 hours total.&lt;/div&gt;&#10;&lt;div&gt; &lt;/div&gt;&#10;&lt;div&gt;&lt;strong&gt;&lt;span style="font-size: x-small;"&gt;Stage 2 – Fixing&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&#10;&lt;div&gt;&lt;strong&gt;&lt;/strong&gt; &lt;/div&gt;&#10;&lt;div&gt; &#10;&lt;p&gt;&lt;img alt="" decoding="async" src="https://bryanavery.co.uk/uploads/2013/8/Bug%20Process%20-%20Stage%202.png"/&gt;&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;div&gt; &lt;/div&gt;&#10;&lt;div&gt;&lt;strong&gt;Note:&lt;/strong&gt;  Click the process for a larger version.&lt;/div&gt;&#10;&lt;div&gt; &lt;/div&gt;&#10;&lt;div&gt;Bugs which enter this stage should have already been through the first stage of investigation at least once and should have appropriate tasks against them which detail what needs to happen to resolve the problem.&lt;/div&gt;&#10;&lt;div&gt;Since each bug should have been through the first stage of analysis, we should know enough at this stage to be confident in being able to both apply a fix and complete the associated tasks in the allocated sprint.&lt;/div&gt;&#10;&lt;/div&gt;</description></item><item><title>TFS Standards Policy</title><link>https://bryanavery.co.uk/tfs-standards-policy/</link><pubDate>Fri, 16 Aug 2013 11:30:00 +0000</pubDate><guid>https://bryanavery.co.uk/tfs-standards-policy/</guid><description>&lt;div&gt;&lt;span style="font-family: Calibri; font-size: small;"&gt;Rules to organise the process of Checking in and out of TFS is vital for preserving the integrity of our solution.&lt;/span&gt;&lt;/div&gt;&#10;&lt;div&gt; &lt;/div&gt;&#10;&lt;div&gt;&lt;span style="font-family: Calibri; font-size: small;"&gt;This list is by no means fool-proof and exhaustive and hence any suggestions are welcomed and encouraged.&lt;/span&gt;&lt;/div&gt;&#10;&lt;ol&gt;&#10;&lt;li&gt;&lt;span style="font-family: Calibri; font-size: small;"&gt;Before Checking In or Out:&lt;/span&gt;&#10;&lt;ol&gt;&#10;&lt;li&gt;&lt;span style="font-family: Calibri; font-size: small;"&gt;Consider getting latest.&lt;/span&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span style="font-family: Calibri; font-size: small;"&gt;Check if someone else has already checked the file out. If so, inform that person. This to avoid duplicating activities.&lt;/span&gt;&lt;/li&gt;&#10;&lt;/ol&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&lt;span style="font-family: Calibri; font-size: small;"&gt;Checking out:&lt;/span&gt;&#10;&lt;ol&gt;&#10;&lt;li&gt;&lt;span style="font-family: Calibri; font-size: small;"&gt;You can check out a file either explicitly by right clicking and select Check-out or implicitly by typing into the file.&lt;/span&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span style="font-family: Calibri; font-size: small;"&gt;Before Checking-Out, check that the file is already checked out by another person; if so, inform that user, this to avoid duplicating activities.&lt;/span&gt;&lt;/li&gt;&#10;&lt;/ol&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&lt;span style="font-family: Calibri; font-size: small;"&gt;Checking In:&lt;/span&gt;&#10;&lt;ol&gt;&#10;&lt;li&gt;&lt;span style="font-family: Calibri; font-size: small;"&gt;Before checking in make sure:&lt;/span&gt;&#10;&lt;ol&gt;&#10;&lt;li&gt;&lt;span style="font-family: Calibri; font-size: small;"&gt;The modified code compiles.&lt;/span&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span style="font-family: Calibri; font-size: small;"&gt;The entire solution builds successfully.&lt;/span&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span style="font-family: Calibri; font-size: small;"&gt;StyleCop rules implemented.&lt;/span&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span style="font-family: Calibri; font-size: small;"&gt;Code reviewer is present.&lt;/span&gt;&lt;/li&gt;&#10;&lt;/ol&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&lt;span style="font-family: Calibri; font-size: small;"&gt;Add clear and concise description to what has been changed and why.&lt;/span&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span style="font-family: Calibri; font-size: small;"&gt;Assign to Work Item(s) ID&lt;/span&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span style="font-family: Calibri; font-size: small;"&gt;Code reviewer name entered.&lt;/span&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span style="font-family: Calibri; font-size: small;"&gt;Never Auto-Merge; always merge manually.&lt;/span&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span style="font-family: Calibri; font-size: small;"&gt;Check that all new files, or relevant assembly in the global Library folder, have been successfully added to TFS. Missing such files might trigger Build Server failure.&lt;/span&gt;&lt;/li&gt;&#10;&lt;/ol&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&lt;span style="font-family: Calibri; font-size: small;"&gt;After checking in keep an eye on the Build Server notification for successful build.&lt;/span&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span style="font-family: Calibri; font-size: small;"&gt;At the end of the working day; if the coding is not successfully completed, you must “Shelf” the files within TFS.&lt;/span&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span style="font-family: Calibri; font-size: small;"&gt;Make sure to regularly update relevant work items with progress and relevant comment.&lt;/span&gt;&lt;/li&gt;&#10;&lt;/ol&gt;</description></item><item><title>Singleton Pattern the right way</title><link>https://bryanavery.co.uk/singleton-pattern-the-right-way/</link><pubDate>Fri, 16 Aug 2013 10:04:00 +0000</pubDate><guid>https://bryanavery.co.uk/singleton-pattern-the-right-way/</guid><description>&lt;p&gt;The singleton pattern is used in almost all modern day programming languages, so why do I keep finding it written incorrectly in so many applications, so lets start with the right way&lt;/p&gt;&#10;&lt;pre class="brush: c-sharp;"&gt;public sealed class SimpleNoLockLazy&#10; {&#10; static readonly SimpleNoLockLazy instance = new SimpleNoLockLazy();&#10;&lt;pre&gt;&lt;code&gt; // Explicit static constructor to tell C# compiler&#10; // not to mark type as beforefieldinit&#10; static SimpleNoLockLazy()&#10; {&#10; }&#10;&#10; SimpleNoLockLazy()&#10; {&#10; }&#10;&#10; public static SimpleNoLockLazy Instance&#10; {&#10; get&#10; {&#10; return instance;&#10; }&#10; }&#10;}&amp;lt;/pre&amp;gt;&#10;&lt;/code&gt;&lt;/pre&gt;&#10;&lt;p&gt;So why this implementation?   The reason for using a Singleton is for performance in a multi-threaded environment and this pattern is not only simple, but it is the fastest.  I have attached a benchmark application, which is based on &lt;a href="http://www.yoda.arachsys.com/csharp/SingletonBenchmark.cs" target="_blank"&gt;Jon Skeet’s benchmark&lt;/a&gt;, but testing using a Parallel processes.&lt;/p&gt;</description></item><item><title>Validation from WCF layer through to MVC</title><link>https://bryanavery.co.uk/validation-from-wcf-layer-through-to-mvc/</link><pubDate>Tue, 09 Jul 2013 14:08:00 +0000</pubDate><guid>https://bryanavery.co.uk/validation-from-wcf-layer-through-to-mvc/</guid><description>&lt;p&gt; &lt;/p&gt;&#10;&lt;p&gt;First off, why would you want to perform validation in the WCF layer?&lt;/p&gt;&#10;&lt;p&gt;After a vigorous PEN test, it was noted that the validation was mainly happening at the client browser and the application required validation to occur at the business logic layer, in our case the WCF layer.&lt;/p&gt;</description></item><item><title>MVC running on IIS8</title><link>https://bryanavery.co.uk/mvc-running-on-iis8/</link><pubDate>Mon, 08 Jul 2013 20:46:00 +0000</pubDate><guid>https://bryanavery.co.uk/mvc-running-on-iis8/</guid><description>&lt;p&gt;After a number of 500 errors coming up from IIS8 under Windows Server 2012, I final found the solution.&lt;/p&gt;&#10;&lt;p&gt;The solution was to go back to the Microsoft Server 2012 Dashboard and select the “Add Roles” feature. Scroll down to the root “Web Server (IIS)”, expand “Web Server”, expand “Application Development” and select “ASP.NET 3.5” and “ASP.NET 4.5” and “Install”.&lt;/p&gt;</description></item><item><title>Use Case templates</title><link>https://bryanavery.co.uk/use-case-templates/</link><pubDate>Thu, 04 Jul 2013 09:45:00 +0000</pubDate><guid>https://bryanavery.co.uk/use-case-templates/</guid><description>&lt;p&gt;&lt;a href="https://bryanavery.co.uk/file.axd?file=2013/7/Writing+Effective+Use+Cases+-+by+Alistair+Cockburn.pdf"&gt;Writing Effective Use Cases – by Alistair Cockburn.pdf (420.04 kb)&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="https://bryanavery.co.uk/file.axd?file=2013/7/Use+Case+Template+v0.1.docx"&gt;Use Case Template v0.1.docx (302.38 kb)&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Validating an e-mail address the DataAnnotation way</title><link>https://bryanavery.co.uk/validating-an-e-mail-address-the-dataannotation-way/</link><pubDate>Thu, 27 Jun 2013 15:31:00 +0000</pubDate><guid>https://bryanavery.co.uk/validating-an-e-mail-address-the-dataannotation-way/</guid><description>&lt;p&gt;There are many ways to validate if an e-mail address is right, and many wrong ways.  The biggest wrong way is using a Regular expression, why?  They are complex and there is not one that resolves this issue, you will always get an invalid e-mail address that passes through okay.&lt;/p&gt;</description></item><item><title>Determine which file type has been uploaded</title><link>https://bryanavery.co.uk/determine-which-file-type-has-been-uploaded/</link><pubDate>Tue, 25 Jun 2013 15:04:00 +0000</pubDate><guid>https://bryanavery.co.uk/determine-which-file-type-has-been-uploaded/</guid><description>&lt;p&gt;It is quite an easy process to upload files from a web browser, but how do you know it is the correct type of document you are asking for?&lt;/p&gt;&#10;&lt;p&gt;You can check the file extenstion, but a hacker would just change the file type to another extension, so this is not a fail safe way of checking the file type being uploaded.&lt;/p&gt;</description></item><item><title>Stay Alive in MVC</title><link>https://bryanavery.co.uk/stay-alive-in-mvc/</link><pubDate>Mon, 17 Jun 2013 13:10:00 +0000</pubDate><guid>https://bryanavery.co.uk/stay-alive-in-mvc/</guid><description>&lt;p&gt;Have you ever opened a page for one of your websites and it lags for a while before it finally shows a page but then all of your following requests are quick? If you were to Google the problem you’d find that often it ends up having to do with &lt;a href="https://www.google.com/search?q=asp.net+site+starts+slow&amp;amp;safe=active" target="_blank"&gt;IIS meeting an idle time limit&lt;/a&gt; and shuts down your site.&lt;/p&gt;</description></item><item><title>Overloading Methods in WCF</title><link>https://bryanavery.co.uk/overloading-methods-in-wcf/</link><pubDate>Tue, 11 Jun 2013 10:04:00 +0000</pubDate><guid>https://bryanavery.co.uk/overloading-methods-in-wcf/</guid><description>&lt;p&gt;Is this possible?&lt;/p&gt;&#10;&lt;p&gt;It is possible to overload a method in WCF.  However, when you want to expose overloaded methods as operations in a WCF contract, there is more to it than simply writing two or more methods with the same name.&lt;/p&gt;</description></item><item><title>Internal error messages warning</title><link>https://bryanavery.co.uk/internal-error-messages-warning/</link><pubDate>Thu, 16 May 2013 14:20:00 +0000</pubDate><guid>https://bryanavery.co.uk/internal-error-messages-warning/</guid><description>&lt;p&gt;Write up the following post&lt;/p&gt;&#10;&lt;p&gt; &lt;/p&gt;&#10;&lt;p&gt;http://www.troyhunt.com/2012/01/aspnet-session-hijacking-with-google.html&lt;/p&gt;</description></item><item><title>Cross Site Attacks – XSS</title><link>https://bryanavery.co.uk/cross-site-attacks-xss/</link><pubDate>Wed, 15 May 2013 11:32:00 +0000</pubDate><guid>https://bryanavery.co.uk/cross-site-attacks-xss/</guid><description>&lt;div class="ExternalClass6794FBB9115D4A3A84D5F1E5C83E2E41"&gt;Cross Site Attacks (XSS) what is that all about?&lt;/div&gt;&#10;&lt;div class="ExternalClass6794FBB9115D4A3A84D5F1E5C83E2E41"&gt; &lt;/div&gt;&#10;&lt;div class="ExternalClass6794FBB9115D4A3A84D5F1E5C83E2E41"&gt;“Cross-site scripting (XSS) is a type of computer security vulnerability typically found in Web applications. XSS enables attackers to inject client-side script into Web pages viewed by other users. A cross-site scripting vulnerability may be used by attackers to bypass access controls such as the same origin policy. Cross-site scripting carried out on websites accounted for roughly 84% of all security vulnerabilities documented by Symantec as of 2007. Their effect may range from a petty nuisance to a significant security risk, depending on the sensitivity of the data handled by the vulnerable site and the nature of any security mitigation implemented by the site’s owner.”&lt;/div&gt;&#10;&lt;div class="ExternalClass6794FBB9115D4A3A84D5F1E5C83E2E41"&gt; &lt;/div&gt;&#10;&lt;div class="ExternalClass6794FBB9115D4A3A84D5F1E5C83E2E41"&gt;All user’s inputs can be a back door for attacker to attack your site. User’s inputs that we will categorize as un-trusted inputs are :&lt;/div&gt;&#10;&lt;div&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Incoming URLs including Request.QueryString[] values&lt;/li&gt;&#10;&lt;li&gt;Form post data (Request.Form[] values including values from hidden fields and disabled fields)&lt;/li&gt;&#10;&lt;li&gt;Cookies&lt;/li&gt;&#10;&lt;li&gt;Data in HTTP Headers (such as Request.UserAgent and Request.UrlReferrer).&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/div&gt;&#10;&lt;div&gt;Your site could be attacked by altering the query string, form values, or cookies data. The solution is not to prevent request manipulation but to check that each request is a legal request for the logged-in visitor.&lt;/div&gt;&#10;&lt;h2 class="ExternalClass6794FBB9115D4A3A84D5F1E5C83E2E41"&gt;&lt;span style="color: #000000;"&gt;&lt;strong&gt;Cross-Site Scripting and HTML Injection&lt;/strong&gt;&lt;/span&gt;&lt;/h2&gt;&#10;&lt;div class="ExternalClass6794FBB9115D4A3A84D5F1E5C83E2E41"&gt;If an attacker can get our site to return some javascript to our visitors, then the attacker’s script can take control of our visitors’ browsing session and by this the attackers can collect the personal information (passwords, credit card details) of our visitors. There are two main ways an attacker follow to get this:&#10;&lt;ol&gt;&#10;&lt;li&gt;&lt;em&gt;Persistently&lt;/em&gt;:  by entering formed malicious input into some feature and hoping we will store it into our database and then issue it back to other visitors.&lt;/li&gt;&#10;&lt;li&gt;&lt;em&gt;Non-persistently or Passively &lt;/em&gt;: by finding a way of sending malicious data in a request to our application and having our application echo that data back in it is response. The attacker then finds a way to trick a victim into making such a request.&lt;/li&gt;&#10;&lt;/ol&gt;&#10;&lt;/div&gt;&#10;&lt;h2 class="ExternalClass6794FBB9115D4A3A84D5F1E5C83E2E41"&gt;&lt;strong&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: #000000;"&gt;Razor HTML Encoding&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/h2&gt;&#10;&lt;div class="ExternalClass6794FBB9115D4A3A84D5F1E5C83E2E41"&gt;The Razor view engine helps protect us against XSS attacks by encoding any data that we refer to using the @ tag to make it safe to display as HTML. This means when we request an URL with a javascript code as a query string, Razor processes the query string value and replaces the special characters and rendering javascript code as a simple text.&#10;&lt;p&gt;Razor view engine treats the contents of MvcHtmlString objects as if they were encoded, even when that is not the case. We can use Html.Raw helper method to include our HTML into the web page without it being encoded.&lt;/p&gt;&lt;/div&gt;</description></item><item><title>Preventing Cross Site Request Forgery</title><link>https://bryanavery.co.uk/preventing-cross-site-request-forgery/</link><pubDate>Wed, 15 May 2013 09:41:00 +0000</pubDate><guid>https://bryanavery.co.uk/preventing-cross-site-request-forgery/</guid><description>&lt;p&gt;What is Cross Site Request Forgery (CSRF)?&lt;/p&gt;&#10;&lt;p&gt;“A CSRF attack forces a logged-on victim’s browser to send a pre-authenticated request to a vulnerable web application, which then forces the victim’s browser to perform a hostile action to the benefit of the attacker. CSRF can be as powerful as the web application that it attacks.”&lt;/p&gt;</description></item><item><title>How to perform JavaScript Unit Testing</title><link>https://bryanavery.co.uk/how-to-perform-javascript-unit-testing/</link><pubDate>Fri, 03 May 2013 09:17:00 +0000</pubDate><guid>https://bryanavery.co.uk/how-to-perform-javascript-unit-testing/</guid><description>&lt;p&gt;Following the &lt;a href="http://butunclebob.com/ArticleS.UncleBob.TheThreeRulesOfTdd" target="_blank"&gt;TDD&lt;/a&gt; approach when you are working with MVC it is quite easy to produce Unit Tests that are based on the MVC Controllers, with more and more business logic appearing in the User Interface by using libraries such as jQuery it is becoming more important to perform Unit Testing on JavaScript.&lt;/p&gt;</description></item><item><title>files</title><link>https://bryanavery.co.uk/files/</link><pubDate>Thu, 02 May 2013 07:53:00 +0000</pubDate><guid>https://bryanavery.co.uk/files/</guid><description>&lt;p&gt;&lt;a href="https://bryanavery.co.uk/file.axd?file=2013/5/TalentCubed.zip"&gt;TalentCubed.zip (3.34 mb)&lt;/a&gt;&lt;/p&gt;</description></item><item><title>How to test “Only certain roles should have access to a controller” in MVC</title><link>https://bryanavery.co.uk/how-to-test-only-certain-roles-should-have-access-to-a-controller-in-mvc/</link><pubDate>Tue, 30 Apr 2013 09:42:00 +0000</pubDate><guid>https://bryanavery.co.uk/how-to-test-only-certain-roles-should-have-access-to-a-controller-in-mvc/</guid><description>&lt;p&gt;Using the &lt;a href="http://en.wikipedia.org/wiki/Test-driven_development" target="_blank"&gt;TDD&lt;/a&gt; approach in an MVC application, I was wondering how can you ensure that only certain roles have access to the controller.  Why should we test for this?  Because this is a clearly defined business rule and all business rules need to have Unit Tests where possible.&lt;/p&gt;</description></item><item><title>The repository layout</title><link>https://bryanavery.co.uk/the-repository-layout/</link><pubDate>Thu, 25 Apr 2013 08:13:00 +0000</pubDate><guid>https://bryanavery.co.uk/the-repository-layout/</guid><description>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;Team Foundation Server provides the ultimate flexibility in terms of how you arrange our data. Because it simply versions directories and files, and because it describes no particular meaning to any of those objects, you may arrange the data in your repository in any way that we choose. Unfortunately, this flexibility also means that it’s easy to find yourself “lost without a roadmap” as you attempt to navigate different Team Foundation Server project repositories that may carry completely different and unpredictable arrangements of the data within them.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>SQL Performance Profiler for SQL Express</title><link>https://bryanavery.co.uk/sql-performance-profiler-for-sql-express/</link><pubDate>Fri, 19 Apr 2013 13:54:00 +0000</pubDate><guid>https://bryanavery.co.uk/sql-performance-profiler-for-sql-express/</guid><description>&lt;p&gt;I came across this smart little Profiler for SQL Express, or any version of SQL as it happens.&lt;/p&gt;&#10;&lt;p&gt;Microsoft SQL Server family includes free Express edition, that is fully functional, however has some disappointing limitations which prevent from using it in development process. One of them is absense of profiling tools, standard SQL profiler is not included. However, I came across this SQL Performance Profiler to use with the express edition for tuning your system.&lt;/p&gt;</description></item><item><title>Search every SQL table for a string</title><link>https://bryanavery.co.uk/search-every-sql-table-for-a-string/</link><pubDate>Fri, 15 Mar 2013 11:15:00 +0000</pubDate><guid>https://bryanavery.co.uk/search-every-sql-table-for-a-string/</guid><description>&lt;p&gt;Here is some neat SQL to allow you to search every table and every field in the database for a string&lt;/p&gt;&#10;&lt;pre class="brush: sql;"&gt;CREATE TABLE myTable99 (TABLE_NAME sysname, COLUMN_NAME sysname, Occurs int)&#10;GO&#10;&lt;p&gt;SET NOCOUNT ON&lt;/p&gt;&#10;&lt;p&gt;DECLARE @SQL varchar(8000), @TABLE_NAME sysname, @COLUMN_NAME sysname, @Sargable varchar(80), @Count int&lt;/p&gt;&#10;&lt;p&gt;SELECT @Sargable = &amp;lsquo;There are too many subscription products resulting from the supplied request data&amp;rsquo;&lt;/p&gt;&#10;&lt;p&gt;DECLARE insaneCursor CURSOR FOR&#10;SELECT c.TABLE_NAME, c.COLUMN_NAME&#10;FROM INFORMATION_SCHEMA.Columns c INNER JOIN INFORMATION_SCHEMA.Tables t&#10;ON t.TABLE_SCHEMA = c.TABLE_SCHEMA AND t.TABLE_NAME = c.TABLE_NAME&#10;WHERE c.DATA_TYPE IN (&amp;lsquo;char&amp;rsquo;,&amp;rsquo;nchar&amp;rsquo;,&amp;lsquo;varchar&amp;rsquo;,&amp;rsquo;nvarchar&amp;rsquo;,&amp;rsquo;text&amp;rsquo;,&amp;rsquo;ntext&amp;rsquo;)&#10;AND t.TABLE_TYPE = &amp;lsquo;BASE TABLE&amp;rsquo;&lt;/p&gt;&#10;&lt;p&gt;OPEN insaneCursor&lt;/p&gt;&#10;&lt;p&gt;FETCH NEXT FROM insaneCursor INTO @TABLE_NAME, @COLUMN_NAME&lt;/p&gt;&#10;&lt;p&gt;WHILE @@FETCH_STATUS = 0&#10;BEGIN&#10;SELECT @SQL = &amp;lsquo;INSERT INTO myTable99 (TABLE_NAME, COLUMN_NAME, Occurs) SELECT '&#10;+ &amp;rsquo;&amp;rsquo;&amp;rsquo;&amp;rsquo; + @TABLE_NAME + &amp;rsquo;&amp;rsquo;&amp;rsquo;&amp;rsquo; + &amp;lsquo;,&amp;rsquo;&#10;+ &amp;rsquo;&amp;rsquo;&amp;rsquo;&amp;rsquo; + @COLUMN_NAME + &amp;rsquo;&amp;rsquo;&amp;rsquo;&amp;rsquo; + &amp;lsquo;,&amp;rsquo;&#10;+ &amp;lsquo;COUNT(*) FROM [&amp;rsquo; + @TABLE_NAME&lt;br&gt;&#10;+ &amp;lsquo;] WHERE [&amp;rsquo; + @COLUMN_NAME + &amp;lsquo;] Like '&#10;+ &amp;lsquo;&amp;rsquo;&amp;rsquo;&amp;rsquo;+ &amp;lsquo;%&amp;rsquo; + @Sargable + &amp;lsquo;%&amp;rsquo; + &amp;rsquo;&amp;rsquo;&amp;rsquo;&amp;rsquo;&#10;&amp;ndash;SELECT @SQL&#10;EXEC(@SQL)&#10;IF @@ERROR &amp;lt;&amp;gt; 0&#10;BEGIN&#10;SELECT @SQL&#10;SELECT * FROM INFORMATION_SCHEMA.Columns WHERE TABLE_NAME = @TABLE_NAME&#10;GOTO Error&#10;END&#10;FETCH NEXT FROM insaneCursor INTO @TABLE_NAME, @COLUMN_NAME&#10;END&lt;/p&gt;&#10;&lt;p&gt;SELECT * FROM myTable99 WHERE Occurs &amp;lt;&amp;gt; 0&lt;/p&gt;&#10;&lt;p&gt;Error:&#10;CLOSE insaneCursor&#10;DEALLOCATE insaneCursor&lt;/p&gt;&#10;&lt;p&gt;GO&lt;/p&gt;&#10;&lt;p&gt;DROP TABLE myTable99&#10;GO&lt;/p&gt;&#10;&lt;p&gt;SET NOCOUNT OFF&lt;/pre&gt;</description></item><item><title>Switching from iPhone to Android</title><link>https://bryanavery.co.uk/switching-from-iphone-to-android/</link><pubDate>Fri, 15 Mar 2013 06:58:00 +0000</pubDate><guid>https://bryanavery.co.uk/switching-from-iphone-to-android/</guid><description>&lt;p&gt;The iPhone is the top smartphone, but some Android rivals like the Galaxy S III are very attractive, and they’re available in large sizes that the iPhone is not. Plus, they support cool technologies Apple doesn’t support.&lt;/p&gt;</description></item><item><title>Disable Shut Down on your Server</title><link>https://bryanavery.co.uk/disable-shut-down-on-your-server/</link><pubDate>Tue, 12 Mar 2013 08:22:00 +0000</pubDate><guid>https://bryanavery.co.uk/disable-shut-down-on-your-server/</guid><description>&lt;p&gt;When you are connecting via a remote connection to a server I find the Shut Down is far far to close to the log off, and if you hit the Shut Down by mistake it can be a devil to get the remote machine to power back up and may require someone to visit the machine to hit the power button.&lt;/p&gt;</description></item><item><title>Deploy a database project with TFS Build</title><link>https://bryanavery.co.uk/deploy-a-database-project-with-tfs-build/</link><pubDate>Wed, 27 Feb 2013 14:24:00 +0000</pubDate><guid>https://bryanavery.co.uk/deploy-a-database-project-with-tfs-build/</guid><description>&lt;p&gt;When you develop web application you often have this scenario. Some people are testers, they are testing the application in dev all day, and they want always to test latest version. Moreover testers usually fills data into web application, so they want their data to be preserved between various deploy. If you simply clear all data in test database you will end with a lot of furious tester so do not even think to do this.&lt;br/&gt; &lt;br/&gt;If a developer needs to change database schema, we need to automate not only the deploy of the web application, but we need also to sync test database with the latest changes. This is necessary so the test site can work with the new version, but old data is preserved for the happiness of the testers.&lt;br/&gt; &lt;br/&gt;This is quite simple using TFS and Database project. The situation is this one&lt;/p&gt;</description></item><item><title>Visual Studio 2012 running slow</title><link>https://bryanavery.co.uk/visual-studio-2012-running-slow/</link><pubDate>Thu, 21 Feb 2013 11:32:00 +0000</pubDate><guid>https://bryanavery.co.uk/visual-studio-2012-running-slow/</guid><description>&lt;p&gt;Three months in and my Visual Studio 2012 is running slow, I’ll even go as far as saying it is freezing up some times, so I loaded up SysInternals &lt;a href="http://technet.microsoft.com/en-gb/sysinternals/bb896645/" target="_blank"&gt;Process Monitor&lt;/a&gt; and set a filter on Visual Studio and to my complete and utter amazement I found PerfWatson running wild in the system&lt;/p&gt;</description></item><item><title>Who is locking my SQL database?</title><link>https://bryanavery.co.uk/who-is-locking-my-sql-database/</link><pubDate>Tue, 19 Feb 2013 12:13:00 +0000</pubDate><guid>https://bryanavery.co.uk/who-is-locking-my-sql-database/</guid><description>&lt;p&gt;Need to know who is logged on to your SQL database ,here is a nice script that I got from Gary Dunne &lt;/p&gt;&#10;&lt;pre class="brush: sql;"&gt;DECLARE @spid1 int = NULL /* server process id to check for locks */ &#10;DECLARE @spid2 int = NULL /* other process id to check for locks */ &#10;&lt;p&gt;set nocount on&#10;/*&#10;** Show the locks for both parameters.&#10;*/&#10;declare @objid int,&#10;@dbid int,&#10;@string Nvarchar(255)&lt;/p&gt;&#10;&lt;p&gt;CREATE TABLE #locktable&#10;(&#10;spid smallint&#10;,loginname nvarchar(20)&#10;,hostname nvarchar(30)&#10;,dbid int&#10;,dbname nvarchar(20)&#10;,objId int&#10;,ObjName nvarchar(128)&#10;,IndId int&#10;,Type nvarchar(4)&#10;,Resource nvarchar(16)&#10;,Mode nvarchar(8)&#10;,Status nvarchar(5)&#10;)&lt;/p&gt;&#10;&lt;p&gt;if @spid1 is not NULL&#10;begin&#10;INSERT #locktable&#10;(&#10;spid&#10;,loginname&#10;,hostname&#10;,dbid&#10;,dbname&#10;,objId&#10;,ObjName&#10;,IndId&#10;,Type&#10;,Resource&#10;,Mode&#10;,Status&#10;)&#10;select convert (smallint, l.req_spid)&#10;&amp;ndash;,coalesce(substring (user_name(req_spid), 1, 20),&amp;rsquo;&amp;rsquo;)&#10;,coalesce(substring (s.loginame, 1, 20),&amp;rsquo;&amp;rsquo;)&#10;,coalesce(substring (s.hostname, 1, 30),&amp;rsquo;&amp;rsquo;)&#10;,l.rsc_dbid&#10;,substring (db_name(l.rsc_dbid), 1, 20)&#10;,l.rsc_objid&#10;,&amp;rsquo;'&#10;,l.rsc_indid&#10;,substring (v.name, 1, 4)&#10;,substring (l.rsc_text, 1, 16)&#10;,substring (u.name, 1, 8)&#10;,substring (x.name, 1, 5)&#10;from master.dbo.syslockinfo l,&#10;master.dbo.spt_values v,&#10;master.dbo.spt_values x,&#10;master.dbo.spt_values u,&#10;master.dbo.sysprocesses s&#10;where l.rsc_type = v.number&#10;and v.type = &amp;lsquo;LR&amp;rsquo;&#10;and l.req_status = x.number&#10;and x.type = &amp;lsquo;LS&amp;rsquo;&#10;and l.req_mode + 1 = u.number&#10;and u.type = &amp;lsquo;L&amp;rsquo;&#10;and req_spid in (@spid1, @spid2)&#10;and req_spid = s.spid&#10;end&#10;/*&#10;** No parameters, so show all the locks.&#10;*/&#10;else&#10;begin&#10;INSERT #locktable&#10;(&#10;spid&#10;,loginname&#10;,hostname&#10;,dbid&#10;,dbname&#10;,objId&#10;,ObjName&#10;,IndId&#10;,Type&#10;,Resource&#10;,Mode&#10;,Status&#10;)&#10;select convert (smallint, l.req_spid)&#10;&amp;ndash;,coalesce(substring (user_name(req_spid), 1, 20),&amp;rsquo;&amp;rsquo;)&#10;,coalesce(substring (s.loginame, 1, 20),&amp;rsquo;&amp;rsquo;)&#10;,coalesce(substring (s.hostname, 1, 30),&amp;rsquo;&amp;rsquo;)&#10;,l.rsc_dbid&#10;,substring (db_name(l.rsc_dbid), 1, 20)&#10;,l.rsc_objid&#10;,&amp;rsquo;'&#10;,l.rsc_indid&#10;,substring (v.name, 1, 4)&#10;,substring (l.rsc_text, 1, 16)&#10;,substring (u.name, 1, 8)&#10;,substring (x.name, 1, 5)&#10;from master.dbo.syslockinfo l,&#10;master.dbo.spt_values v,&#10;master.dbo.spt_values x,&#10;master.dbo.spt_values u,&#10;master.dbo.sysprocesses s&#10;where l.rsc_type = v.number&#10;and v.type = &amp;lsquo;LR&amp;rsquo;&#10;and l.req_status = x.number&#10;and x.type = &amp;lsquo;LS&amp;rsquo;&#10;and l.req_mode + 1 = u.number&#10;and u.type = &amp;lsquo;L&amp;rsquo;&#10;and req_spid = s.spid&#10;order by spID&#10;END&#10;DECLARE lock_cursor CURSOR&#10;FOR SELECT dbid, ObjId FROM #locktable WHERE Type =&amp;lsquo;TAB&amp;rsquo;&lt;/p&gt;&#10;&lt;p&gt;OPEN lock_cursor&#10;FETCH NEXT FROM lock_cursor INTO @dbid, @ObjId&#10;WHILE @@FETCH_STATUS = 0&#10;BEGIN&#10;SELECT @string =&#10;&amp;lsquo;USE &amp;rsquo; + db_name(@dbid) + char(13)&lt;br&gt;&#10;+ &amp;lsquo;UPDATE #locktable SET ObjName = object_name(&amp;rsquo;&#10;+ convert(varchar(32),@objId) + &amp;lsquo;) WHERE dbid = &amp;rsquo; + convert(varchar(32),@dbId)&#10;+ &amp;rsquo; AND objid = &amp;rsquo; + convert(varchar(32),@objId)&lt;/p&gt;&#10;&lt;p&gt;EXECUTE (@string)&#10;FETCH NEXT FROM lock_cursor INTO @dbid, @ObjId &lt;br&gt;&#10;END&#10;CLOSE lock_cursor&#10;DEALLOCATE lock_cursor&lt;/p&gt;&#10;&lt;p&gt;SELECT * FROM #locktable&#10;DROP TABLE #locktable&lt;/pre&gt;</description></item><item><title>How and setup and got my Gadgeteer to work</title><link>https://bryanavery.co.uk/how-and-setup-and-got-my-gadgeteer-to-work/</link><pubDate>Mon, 18 Feb 2013 17:49:00 +0000</pubDate><guid>https://bryanavery.co.uk/how-and-setup-and-got-my-gadgeteer-to-work/</guid><description>&lt;p&gt;This is a quick start guide for .NET Gadgeteer and the &lt;a href="http://proto-pic.co.uk/fez-spider-starter-kit/?gclid=CPS6nfP35LUCFUbKtAodNWoA6A" target="_blank"&gt;FEZ Spider Kit&lt;/a&gt;. It includes instructions for the installation of necessary software and drivers of the Gadgeteer platform as well as for the first Gadgeteer program. &lt;/p&gt;</description></item><item><title>Going in to Space</title><link>https://bryanavery.co.uk/going-in-to-space/</link><pubDate>Sun, 10 Feb 2013 09:33:00 +0000</pubDate><guid>https://bryanavery.co.uk/going-in-to-space/</guid><description>&lt;p&gt; &lt;/p&gt;&#10;&lt;p&gt; &lt;/p&gt;&#10;&lt;p&gt; &lt;/p&gt;&#10;&lt;p&gt; &lt;/p&gt;&#10;&lt;p&gt;Hello Kitty in space&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=5REsCTG4-Gg&amp;amp;feature=player_embedded" target="_blank"&gt;https://www.youtube.com/watch?v=5REsCTG4-Gg&amp;amp;feature=player_embedded&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt; &lt;/p&gt;&#10;&lt;p&gt; &lt;/p&gt;&#10;&lt;p&gt; &lt;/p&gt;</description></item><item><title>Hacking at its best with DNS</title><link>https://bryanavery.co.uk/hacking-at-its-best-with-dns/</link><pubDate>Sun, 10 Feb 2013 08:51:00 +0000</pubDate><guid>https://bryanavery.co.uk/hacking-at-its-best-with-dns/</guid><description>&lt;p&gt;I received a tweet yesterday from &lt;a href="https://twitter.com/gravax" target="_blank"&gt;@gravax&lt;/a&gt; who was the Epic Hack of the Day, so just check this out which is pretty cool&lt;/p&gt;&#10;&lt;p&gt;tracert -h 99 216.81.59.173&lt;/p&gt;&#10;&lt;p&gt;You get back&lt;/p&gt;&#10;&lt;p style="margin: 0px; font-size: 11px; font-family: Menlo;"&gt;12  * * *&lt;/p&gt;</description></item><item><title>Avoid, Find and Fix ASP.NET Performance Issues</title><link>https://bryanavery.co.uk/avoid-find-and-fix-asp-net-performance-issues/</link><pubDate>Sat, 26 Jan 2013 03:38:00 +0000</pubDate><guid>https://bryanavery.co.uk/avoid-find-and-fix-asp-net-performance-issues/</guid><description>&lt;p&gt;Following on from my articles on producing smarter code I have come across “50 ways to Avoid, Find and Fix ASP.NET Performance Issues” by RedGate, won’t say it is the best advise but still gives some good tips on how to improve performance.&lt;/p&gt;</description></item><item><title>TypeScript not publishing it’s JavaScript files that it builds</title><link>https://bryanavery.co.uk/typescript-not-publishing-its-javascript-files-that-it-builds/</link><pubDate>Wed, 23 Jan 2013 07:24:00 +0000</pubDate><guid>https://bryanavery.co.uk/typescript-not-publishing-its-javascript-files-that-it-builds/</guid><description>&lt;p&gt;Okay second issue I have come across with TypeScript is that even though you can get &lt;a href="https://bryanavery.co.uk/post/2013/01/23/TypeScript-and-Building-with-your-Visual-Studio-Project/" target="_blank"&gt;TypeScript to build your JavaScript&lt;/a&gt; files during the build process whist using Visual Studio, when you come to publish the project the JavaScript files are no longer there….!&lt;/p&gt;</description></item><item><title>TypeScript and Building with your Visual Studio Project</title><link>https://bryanavery.co.uk/typescript-and-building-with-your-visual-studio-project/</link><pubDate>Wed, 23 Jan 2013 07:03:00 +0000</pubDate><guid>https://bryanavery.co.uk/typescript-and-building-with-your-visual-studio-project/</guid><description>&lt;p&gt;&lt;a href="http://www.typescriptlang.org" target="_blank"&gt;TypeScript&lt;/a&gt; is great, and it is in Preview from Microsoft.  One of the first issues I had was how to get TypeScript to build your JavaScript files every time you build your Visual Studio project.&lt;/p&gt;</description></item><item><title>Missile Launcher</title><link>https://bryanavery.co.uk/missile-launcher/</link><pubDate>Sun, 20 Jan 2013 09:02:00 +0000</pubDate><guid>https://bryanavery.co.uk/missile-launcher/</guid><description>&lt;p&gt;Time to get tough and have a bit of fun…..&lt;/p&gt;&#10;&lt;p&gt;This small project came about when team members kept breaking the builds on our build server, and as a result causing compile errors for other developers when they wanted to work on the latest code.&lt;/p&gt;</description></item><item><title>Encrypting Web.config for the website</title><link>https://bryanavery.co.uk/encrypting-web-config-for-the-website/</link><pubDate>Thu, 17 Jan 2013 16:57:00 +0000</pubDate><guid>https://bryanavery.co.uk/encrypting-web-config-for-the-website/</guid><description>&lt;p&gt;Security is always high for installation to customer so is it not about time you encripted the connection string in your web.config file?&lt;/p&gt;&#10;&lt;p&gt;This is how it looks like before encrypting:&lt;/p&gt;&#10;&lt;pre class="brush: xml;"&gt;&amp;lt;connectionStrings&amp;gt;&#10; &amp;lt;add name="Pubs" connectionString="Server=localhost;Integrated Security=True;Database=Pubs"&#10; providerName="System.Data.SqlClient" /&amp;gt;&#10; &amp;lt;add name="Northwind" connectionString="Server=localhost;Integrated Security=True;Database=Northwind"&#10; providerName="System.Data.SqlClient" /&amp;gt;&#10;&amp;lt;/connectionStrings&amp;gt;&lt;/pre&gt;&#10;&lt;p&gt;We can encrypt any section of your Web.config file on-the-fly and programatically. If you have full access to your Web server, you can encrypt your connection strings with this single command-line located in the in the %windows%\Microsoft.NET\Framework\versionNumber folder:&lt;/p&gt;</description></item><item><title>Don’t and Do’s in C#</title><link>https://bryanavery.co.uk/dont-and-dos-in-c/</link><pubDate>Thu, 17 Jan 2013 03:36:00 +0000</pubDate><guid>https://bryanavery.co.uk/dont-and-dos-in-c/</guid><description>&lt;p&gt;For a while now I have been reviewing developers code and performing &lt;a href="https://bryanavery.co.uk/post/2013/01/17/Code-Review-Guidelines/" target="_blank"&gt;code reviews&lt;/a&gt; and I have noticed some common mistakes are being repeated time and time again. These are mostly the mistakes, which once you point them, are quite easy to remember. However, if a developer is not aware of them, they can cause many problems with the efficiency and quality of the developed software. So what are these common mistakes and why are they wrong?&lt;/p&gt;</description></item><item><title>Code Review Guidelines</title><link>https://bryanavery.co.uk/code-review-guidelines/</link><pubDate>Thu, 17 Jan 2013 03:05:00 +0000</pubDate><guid>https://bryanavery.co.uk/code-review-guidelines/</guid><description>&lt;h2&gt;What is a code Review?&lt;/h2&gt;&#10;&lt;p&gt;Code review is systematic examination (often known as peer review) of computer source code. It is intended to find and fix mistakes overlooked in the initial development phase, improving both the overall quality of software and the developers’ skills. &lt;/p&gt;</description></item><item><title>Import a Web Deploy Package through IIS Manager</title><link>https://bryanavery.co.uk/import-a-web-deploy-package-through-iis-manager/</link><pubDate>Fri, 04 Jan 2013 09:09:00 +0000</pubDate><guid>https://bryanavery.co.uk/import-a-web-deploy-package-through-iis-manager/</guid><description>&lt;p&gt;Import a Package&lt;/p&gt;&#10;&lt;ol&gt;&#10;&lt;li&gt;Always make a backup prior to changing your system. Run the following command to backup an IIS 7.0 or above server:&lt;br/&gt;    %windir%\system32\inetsrv\appcmd add backup “PreMsDeploy”&lt;/li&gt;&#10;&lt;li&gt;Open the IIS Manager by clicking Start &amp;gt; Run and typing inetmgr.&lt;/li&gt;&#10;&lt;li&gt;In IIS Manager, expand the Server node and the Sites node, then select the Default Web Site.&lt;/li&gt;&#10;&lt;li&gt;In the right-hand Actions pane, click the Import Application… link to launch the packaging wizard.&lt;/li&gt;&#10;&lt;li&gt;Select the package that you created in the previous quick guide, MyApplication.zip, or any other package.&lt;/li&gt;&#10;&lt;li&gt;In the Install an Application Package dialog, you will see the application and the database.&lt;/li&gt;&#10;&lt;li&gt;On the Parameters page, enter a new application name if desired and enter a SQL connection string.&lt;/li&gt;&#10;&lt;li&gt;Click Next to install the package.&lt;/li&gt;&#10;&lt;li&gt;The Summary page will provide a high-level overview of some items that were installed from the package. The Details tab will give a lot of detail of exactly what was added.&lt;/li&gt;&#10;&lt;/ol&gt;&#10;&lt;p&gt;For more information go to : &lt;a href="http://www.iis.net/learn/publish/using-web-deploy/import-a-package-through-iis-manager" target="_blank"&gt;http://www.iis.net/learn/publish/using-web-deploy/import-a-package-through-iis-manager&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Publish Database Project causing “the script file could not be found”</title><link>https://bryanavery.co.uk/publish-database-project-causing-the-script-file-could-not-be-found/</link><pubDate>Thu, 03 Jan 2013 13:22:00 +0000</pubDate><guid>https://bryanavery.co.uk/publish-database-project-causing-the-script-file-could-not-be-found/</guid><description>&lt;p&gt;If you come across publishing a SQL databse from a Visual Studio Database Project that the “the script file could not be found”, after a lot of digging around I found that all you need to do is delete the .dbmdl file, and it will publish again.&lt;/p&gt;</description></item><item><title>SQL71566 when upgrading to VS12</title><link>https://bryanavery.co.uk/sql71566-when-upgrading-to-vs12/</link><pubDate>Thu, 03 Jan 2013 08:36:00 +0000</pubDate><guid>https://bryanavery.co.uk/sql71566-when-upgrading-to-vs12/</guid><description>&lt;p&gt;In VS 2012 I receive the following error message (one for each table) when trying to build a database project.&lt;/p&gt;&#10;&lt;p&gt;SQL71566: Microsoft.Data.Tools.Schema.Sql.SchemaModel.SqlFilegroup cannot not be set on both the Microsoft.Data.Tools.Schema.Sql.SchemaModel.SqlTable and the clustered Microsoft.Data.Tools.Schema.Sql.SchemaModel.SqlPrimaryKeyConstraint.&lt;/p&gt;&#10;&lt;p&gt;For reference here is script associated with this error.&lt;/p&gt;</description></item><item><title>Coded UI Testing</title><link>https://bryanavery.co.uk/coded-ui-testing/</link><pubDate>Fri, 28 Dec 2012 10:40:00 +0000</pubDate><guid>https://bryanavery.co.uk/coded-ui-testing/</guid><description>&lt;p&gt;What is Code UI Testing, or more to the point what is the difference between Unit Tests and Coded UI Tests?&lt;/p&gt;&#10;&lt;h3&gt;Unit Tests&lt;/h3&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Tests classes and methods at the API level&lt;/li&gt;&#10;&lt;li&gt;If it test a UI, it’s testing an abstraction (not quite testing the UI), UI testing has been hard&lt;/li&gt;&#10;&lt;li&gt;Testing code as you built it&lt;/li&gt;&#10;&lt;li&gt;We are testing in isolation&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h3&gt;Coded UI Tests&lt;/h3&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;UI testing&lt;/li&gt;&#10;&lt;li&gt;Testing a running application&lt;/li&gt;&#10;&lt;li&gt;Simulates a user’s keyboard and mouse activities&lt;/li&gt;&#10;&lt;li&gt;Test the application that’s pretty much done&lt;/li&gt;&#10;&lt;li&gt;Integration testing&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;Looking at the layers in your application&lt;/p&gt;</description></item><item><title>Setting up StyleCop</title><link>https://bryanavery.co.uk/setting-up-stylecop/</link><pubDate>Thu, 27 Dec 2012 10:00:00 +0000</pubDate><guid>https://bryanavery.co.uk/setting-up-stylecop/</guid><description>&lt;p&gt;How to get StyleCop working and running in Visual Studio 2012&lt;/p&gt;&#10;&lt;p&gt;First download the latest &lt;a href="http://stylecop.codeplex.com/" target="_blank"&gt;StyleCop&lt;/a&gt; from Codeplex, and install.&lt;/p&gt;&#10;&lt;p&gt;If you now load up Visual Studio and create a new project, how you’ll find lots of underlined code that need attention&lt;/p&gt;</description></item><item><title>Upgrading an ASP.NET MVC 3 Project to ASP.NET MVC 4</title><link>https://bryanavery.co.uk/upgrading-an-asp-net-mvc-3-project-to-asp-net-mvc-4/</link><pubDate>Sun, 09 Dec 2012 09:46:00 +0000</pubDate><guid>https://bryanavery.co.uk/upgrading-an-asp-net-mvc-3-project-to-asp-net-mvc-4/</guid><description>&lt;p&gt; &lt;/p&gt;&#10;&lt;p&gt;ASP.NET MVC 4 can be installed side by side with ASP.NET MVC 3 on the same computer, which gives you flexibility in choosing when to upgrade an ASP.NET MVC 3 application to ASP.NET MVC 4.&lt;/p&gt;</description></item><item><title>Custom Activities build process</title><link>https://bryanavery.co.uk/custom-activities-build-process/</link><pubDate>Sat, 08 Dec 2012 16:21:00 +0000</pubDate><guid>https://bryanavery.co.uk/custom-activities-build-process/</guid><description>&lt;p&gt;If you are like me and you create a number of Custom Build Activities for TFS you want to ensure that you keep them in a tidy place.&lt;/p&gt;&#10;&lt;p&gt;The best place I have found is to find the BuildProcessTemplates folder and add a new folder called CustomActivities, and in this folder place all your xaml and dll’s files that you have created.&lt;/p&gt;</description></item><item><title>Enhancing the Build in TFS 2012</title><link>https://bryanavery.co.uk/enhancing-the-build-in-tfs-2012/</link><pubDate>Fri, 07 Dec 2012 07:02:00 +0000</pubDate><guid>https://bryanavery.co.uk/enhancing-the-build-in-tfs-2012/</guid><description>&lt;p&gt;TFS has the ability to run automatic builds on the build server, this ensures that your project and solutions build and all their dependencies are near by and functional. I’ve looked all over the internet and found various samples, but none that work with Visual Studio 2012 or in the way I wanted the versioning to work. In this post I pulled together everything I have found whist looking over the Internet, I have tried to keep the same process and names as many of the samples I have found while searching for the solution.&lt;/p&gt;</description></item><item><title>NuGet Packaging</title><link>https://bryanavery.co.uk/nuget-packaging/</link><pubDate>Wed, 05 Dec 2012 07:25:00 +0000</pubDate><guid>https://bryanavery.co.uk/nuget-packaging/</guid><description>&lt;p&gt;With all this talk about NuGet, NuGet Gallery, I’d thought I’d share with you the &lt;a href="http://npe.codeplex.com" target="_blank"&gt;NuGet Package Explorer&lt;/a&gt;.  It is to install and very easy to use too, check out this article on &lt;a href="http://docs.nuget.org/docs/creating-packages/using-a-gui-to-build-packages" target="_blank"&gt;Using the NuGet Package Explorer&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Building to your NuGet Gallery</title><link>https://bryanavery.co.uk/building-to-your-nuget-gallery/</link><pubDate>Wed, 05 Dec 2012 07:10:00 +0000</pubDate><guid>https://bryanavery.co.uk/building-to-your-nuget-gallery/</guid><description>&lt;h2&gt;Build Process Meets NuGet Gallery&lt;/h2&gt;&#10;&lt;p&gt;The next logical step is integrating your NuGet gallery with your existing build processes. If you don’t have a build process and you’re looking for a little “getting started” guidance with Team Foundation Server (TFS) build processes, check out the Microsoft Visual Studio ALM Rangers Build Customization Guide at rabcg.codeplex.com.&lt;/p&gt;</description></item><item><title>Your very own NuGet Gallery</title><link>https://bryanavery.co.uk/your-very-own-nuget-gallery/</link><pubDate>Wed, 05 Dec 2012 06:59:00 +0000</pubDate><guid>https://bryanavery.co.uk/your-very-own-nuget-gallery/</guid><description>&lt;h2&gt;Why Host your own NuGet Gallery?&lt;/h2&gt;&#10;&lt;p&gt;NuGet.org already exists as a public repository for NuGet packages, so you might question the point of hosting a gallery. That’s understandable, but what about leveraging that ecosystem infrastructure within the walls of your own dev environment? Why not set up your own private gallery not only to facilitate your product’s development ecosystem but, better yet, to tie it directly to your build and deployment processes? Moreover, anything you see at NuGet.org is available to you free.&lt;/p&gt;</description></item><item><title>.NET Security</title><link>https://bryanavery.co.uk/net-security/</link><pubDate>Mon, 03 Dec 2012 09:57:00 +0000</pubDate><guid>https://bryanavery.co.uk/net-security/</guid><description>&lt;p&gt;With security paramount on all applications here are a few links which will help you get started:&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="http://www.microsoft.com/security/sdl/discover/design/" target="_blank"&gt;Seven phases of the traditional software development lifecycle define Security Development Lifecycle (SDL) process.&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;a href="http://www.microsoft.com/en-us/download/details/?id=16420" target="_blank"&gt;Microsoft Security Development Lifecycle Core Training classes&lt;/a&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Download links</title><link>https://bryanavery.co.uk/download-links/</link><pubDate>Sun, 02 Dec 2012 08:30:00 +0000</pubDate><guid>https://bryanavery.co.uk/download-links/</guid><description>&lt;p&gt;I’m always after the correct download links, and it takes me sometime to make sure I have the right ones, so here they are.  As I come up with more I’ll keep this page updated&lt;/p&gt;</description></item><item><title>Deploy website from Visual Studio to IIS</title><link>https://bryanavery.co.uk/deploy-website-from-visual-studio-to-iis/</link><pubDate>Sat, 24 Nov 2012 17:02:00 +0000</pubDate><guid>https://bryanavery.co.uk/deploy-website-from-visual-studio-to-iis/</guid><description>&lt;p&gt;MSDeploy is really good for deploying websites and syncing up websites but it can be a real pain to configure and get going intially. The MSDeploy documentation is a bit poor as well and quite often you’ll get a very strange error which can be quite cryptic.&lt;/p&gt;</description></item><item><title>VS12 switching Menu to Lowercase</title><link>https://bryanavery.co.uk/vs12-switching-menu-to-lowercase/</link><pubDate>Sat, 10 Nov 2012 08:24:00 +0000</pubDate><guid>https://bryanavery.co.uk/vs12-switching-menu-to-lowercase/</guid><description>&lt;p&gt;If you are like me and you don’t like people shouting, you’ll be quite releaved that you can stop the Menus from Visual Studio 2012 from shouting at you by changing the Menus from Uppercase to Lowercase is as simple as adding the following key in the registry:&lt;/p&gt;</description></item><item><title>Need to Localize an XSLT</title><link>https://bryanavery.co.uk/need-to-localize-an-xslt/</link><pubDate>Mon, 22 Oct 2012 10:03:00 +0000</pubDate><guid>https://bryanavery.co.uk/need-to-localize-an-xslt/</guid><description>&lt;p&gt;Here is our attempt at the XLST translator, main chunk of the work was by Darren, it’s a console application that applies an xsl (i.e. circle.xsl) to some xml (i.e. number.xml) and writes out the result to a console window.&lt;/p&gt;</description></item><item><title>EntityFramework 4.0 and SQL 2000</title><link>https://bryanavery.co.uk/entityframework-4-0-and-sql-2000/</link><pubDate>Sun, 07 Oct 2012 14:41:00 +0000</pubDate><guid>https://bryanavery.co.uk/entityframework-4-0-and-sql-2000/</guid><description>&lt;p&gt;If you are like me, some customer just can’t upgrade from SQL 2000, so how do you use the EntityFramework 4.0+ with SQL Server 2000?&lt;/p&gt;&#10;&lt;p&gt;Here is one solution that has worked for me:&lt;/p&gt;&#10;&lt;p&gt;Here are the steps to add a new Entity Framework 4.0+ entity context to a Visual Studio 2010 project:&lt;/p&gt;</description></item><item><title>iOS 6 Passbook problem</title><link>https://bryanavery.co.uk/ios-6-passbook-problem/</link><pubDate>Fri, 21 Sep 2012 06:28:00 +0000</pubDate><guid>https://bryanavery.co.uk/ios-6-passbook-problem/</guid><description>&lt;p&gt;So you’ve upgraded to iOS 6 and keen to tryout all the new features one of them being the Passbook, time to get rid of all those printed tickets and even start thinking of replacing that old leather wallet.&lt;/p&gt;</description></item><item><title>Large Scale Database</title><link>https://bryanavery.co.uk/large-scale-database/</link><pubDate>Wed, 15 Aug 2012 10:45:00 +0000</pubDate><guid>https://bryanavery.co.uk/large-scale-database/</guid><description>&lt;p&gt;&lt;a href="https://bryanavery.co.uk/file.axd?file=2012/8/Looking+at+large+scale+Databases.docx"&gt;Looking at large scale Databases.docx (298.57 kb)&lt;/a&gt;&lt;/p&gt;</description></item><item><title>SQL Server Broker</title><link>https://bryanavery.co.uk/sql-server-broker/</link><pubDate>Fri, 29 Jun 2012 15:09:00 +0000</pubDate><guid>https://bryanavery.co.uk/sql-server-broker/</guid><description>&lt;p&gt;I’ve been playing with SQL Server Broker services to allow me to notify my C# code when some data has been changed, but first you need to enable SSB (SQL Server Broker).  The easiest way of doing this is to us the following SQL statement:&lt;/p&gt;</description></item><item><title>MEF with MS Workflow</title><link>https://bryanavery.co.uk/mef-with-ms-workflow/</link><pubDate>Mon, 30 Apr 2012 13:24:00 +0000</pubDate><guid>https://bryanavery.co.uk/mef-with-ms-workflow/</guid><description>&lt;p&gt;I’ve been a strong advocator of MEF for some time now, and with some of my work is now based around MS Workflow I thought it would be a good time to get MEF working with MS Workflow.&lt;/p&gt;</description></item><item><title>JSFiddle, lovely online tool for trying out your javaScript</title><link>https://bryanavery.co.uk/jsfiddle-lovely-online-tool-for-trying-out-your-javascript/</link><pubDate>Sun, 25 Mar 2012 08:53:00 +0000</pubDate><guid>https://bryanavery.co.uk/jsfiddle-lovely-online-tool-for-trying-out-your-javascript/</guid><description>&lt;p&gt;I wanted to have a play with jQuery AutoComplete, so like many people I found the source and created a HTML page locally on my machine.  Then you test it out, save it, uploaded it, or email it to where you need it.&lt;/p&gt;</description></item><item><title>Using MEF in MVC to inject Controllers</title><link>https://bryanavery.co.uk/using-mef-in-mvc-3/</link><pubDate>Mon, 12 Mar 2012 10:01:00 +0000</pubDate><guid>https://bryanavery.co.uk/using-mef-in-mvc-3/</guid><description>&lt;p&gt;After travelling for a year I was interest to see if MEF would work with MVC, and after some digging around I found it can.&lt;/p&gt;&#10;&lt;p&gt;***UPDATED****&lt;/p&gt;&#10;&lt;p&gt;Added a CastleWindsor example&lt;/p&gt;&#10;&lt;p&gt;With any MEF you’ll need a Composition Factory which in this case I’ll place in the MEF directory, but it can be in a different project if required.&lt;/p&gt;</description></item><item><title>Assigning SSL certificate in IIS 6</title><link>https://bryanavery.co.uk/assigning-ssl-certificate-in-iis-6/</link><pubDate>Fri, 09 Mar 2012 08:55:00 +0000</pubDate><guid>https://bryanavery.co.uk/assigning-ssl-certificate-in-iis-6/</guid><description>&lt;p&gt;If when in a test invironment you need to test out SSL (HTTPS) on your website you can create a self-assigning SSL certificate (this process only appiles to IIS6)&lt;/p&gt;&#10;&lt;p&gt;Typically, Secure Socket Layer (SSL) Certificates are created for domains by first generating a Certificate Signing Request (CSR) through Internet Information Services (IIS), sending the request to a known Certification Authority, such as GeoTrust, which generates a corresponding Certificate file for use in conjunction with the CSR, completing the request and securing communications on the domain.&lt;/p&gt;</description></item><item><title>The TFS shuffle</title><link>https://bryanavery.co.uk/the-tfs-shuffle/</link><pubDate>Mon, 05 Mar 2012 10:16:00 +0000</pubDate><guid>https://bryanavery.co.uk/the-tfs-shuffle/</guid><description>&lt;p&gt;If you are like me you perform a shuffle before checking anything in to a Source Control Repository and TFS is no different&lt;/p&gt;&#10;&lt;p&gt;As for shuffle:&lt;/p&gt;&#10;&lt;ol&gt;&#10;&lt;li&gt;Get Latest&lt;/li&gt;&#10;&lt;li&gt;Fix merge conflicts&lt;/li&gt;&#10;&lt;li&gt;Build&lt;/li&gt;&#10;&lt;li&gt;Fix build errors&lt;/li&gt;&#10;&lt;li&gt;Run tests&lt;/li&gt;&#10;&lt;li&gt;Fix broken tests&lt;/li&gt;&#10;&lt;li&gt;Go to 1 (until there is nothing new to get)&lt;/li&gt;&#10;&lt;/ol&gt;&#10;&lt;p&gt;Only check in when all steps are complete.&lt;/p&gt;</description></item><item><title>Debian and installing LXDE (Lightweight X11 Desktop Environment)</title><link>https://bryanavery.co.uk/debian-and-installing-lxde-lightweight-x11-desktop-environment/</link><pubDate>Sun, 04 Mar 2012 10:55:00 +0000</pubDate><guid>https://bryanavery.co.uk/debian-and-installing-lxde-lightweight-x11-desktop-environment/</guid><description>&lt;p&gt;This is the second part of my Raspberry PI posts, the &lt;a href="https://bryanavery.co.uk/post/2012/03/04/Getting-ready-for-my-Raspberry-PI-and-installing-Debian/"&gt;first&lt;/a&gt; covered the installation of Debian on to a virtual machine.  This this post I’ll be getting the fresh install to include a lightweight desktop called &lt;a href="http://lxde.org/" target="_blank"&gt;LXDE&lt;/a&gt; &lt;/p&gt;</description></item><item><title>Getting ready for my Raspberry PI and installing Debian</title><link>https://bryanavery.co.uk/getting-ready-for-my-raspberry-pi-and-installing-debian/</link><pubDate>Sun, 04 Mar 2012 08:35:00 +0000</pubDate><guid>https://bryanavery.co.uk/getting-ready-for-my-raspberry-pi-and-installing-debian/</guid><description>&lt;p&gt;I’ve ordered my Raspberry PI, so I’m planning how and what I’m going to be doing with it.&lt;/p&gt;&#10;&lt;p&gt;I have many small projects I’d like to get underway, but ones which spring to mind first are building a home Media Centre, Network Storage device that supports many drives, and one that is hot on my list is the ability to connect the Raspberry PI to my Arduino and build a small portable device that can tell me where and how to access Wifi while I’m out and about.&lt;/p&gt;</description></item><item><title>Regular Expression cheat sheet</title><link>https://bryanavery.co.uk/regular-expression-cheat-sheet/</link><pubDate>Tue, 28 Feb 2012 09:10:00 +0000</pubDate><guid>https://bryanavery.co.uk/regular-expression-cheat-sheet/</guid><description>&lt;p&gt;Always up for cheating, so when I came across a website dedicated to cheat sheets I was over the moon. &lt;a href="http://www.addedbytes.com/" target="_blank"&gt;http://www.addedbytes.com/&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;The one I am using the most has to be RegEx as I am now finally getting to grips with the syntax and expressions. &lt;/p&gt;</description></item><item><title>Screencast-O-matic</title><link>https://bryanavery.co.uk/screencast-o-matic/</link><pubDate>Wed, 22 Feb 2012 09:57:00 +0000</pubDate><guid>https://bryanavery.co.uk/screencast-o-matic/</guid><description>&lt;p&gt;After finding &lt;a href="https://bryanavery.co.uk/post/2009/10/04/Fastest-way-to-Screen-Cast/" target="_blank"&gt;Screen Toaster&lt;/a&gt; some three years ago now, I found out the other month that the website has been pulled, it’s a shame as this was such a useful tool.&lt;/p&gt;&#10;&lt;p&gt;But today I found &lt;a href="http://screencast-o-matic.com/" target="_blank"&gt;Screen-O-Matic&lt;/a&gt; a small java application, like Screen Toaster, that just works.&lt;/p&gt;</description></item><item><title>Balsamiq Mockups the next stage</title><link>https://bryanavery.co.uk/balsamiq-mockups-the-next-stage/</link><pubDate>Tue, 21 Feb 2012 08:43:00 +0000</pubDate><guid>https://bryanavery.co.uk/balsamiq-mockups-the-next-stage/</guid><description>&lt;p&gt;I’ve been pushing Balsamiq Mockups for a number of years, it was on my &lt;a href="https://bryanavery.co.uk/post/2010/01/04/Last-Years-Toys/"&gt;toy list&lt;/a&gt; for 2009.&lt;/p&gt;&#10;&lt;p&gt;Once you have a mock up of your wireframe and the customer is happy with the look, the next stage is to convert it to HTML, previously I have prefered to pass this to a designer to make it look pretty.  But the problem you’ll have with making something look nice is that the customer will think it is &lt;a href="http://www.scrumalliance.org/articles/105-what-is-definition-of-done-dod" target="_blank"&gt;DONE &lt;/a&gt;and you just don’t want that to happen.&lt;/p&gt;</description></item><item><title>Upgrading from MVC 2.0 to MVC 3.0</title><link>https://bryanavery.co.uk/upgrading-from-mvc-2-0-to-mvc-3-0/</link><pubDate>Fri, 17 Feb 2012 15:01:00 +0000</pubDate><guid>https://bryanavery.co.uk/upgrading-from-mvc-2-0-to-mvc-3-0/</guid><description>&lt;p&gt;Have you tried to upgrade an MVC 2.0 application to MVC 3.0, it’s not easy as you need to change a lot of configuration.&lt;/p&gt;&#10;&lt;p&gt;Well &lt;a href="http://weblogs.asp.net/leftslipper/" target="_blank"&gt;Eilon Lipton&lt;/a&gt; has a codeplex project to make life easier &lt;a href="http://aspnet.codeplex.com/releases/view/59008" target="_blank"&gt;ASP.NET MVC 3 Application Upgrader&lt;/a&gt;. This is a standalone application that takes the troubles away for you and delivers an MVC 3.0 application&lt;/p&gt;</description></item><item><title>mvc crib sheet</title><link>https://bryanavery.co.uk/mvc-crib-sheet/</link><pubDate>Wed, 15 Feb 2012 07:50:00 +0000</pubDate><guid>https://bryanavery.co.uk/mvc-crib-sheet/</guid><description>&lt;h4&gt;&lt;a href="https://bryanavery.co.uk/mvc-crib-sheet/Hands-On%20Labs" target="_blank"&gt;Hands-On Labs&lt;/a&gt;&lt;/h4&gt;&#10;&lt;p&gt; &lt;/p&gt;&#10;&lt;p&gt; &lt;/p&gt;&#10;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica;"&gt;Razor&lt;/p&gt;&#10;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px;"&gt; &lt;/p&gt;&#10;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica;"&gt;c# code&lt;/p&gt;&#10;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px;"&gt; &lt;/p&gt;</description></item><item><title>Visual C# and .NET 4.0 samples</title><link>https://bryanavery.co.uk/visual-c-and-net-4-0-samples/</link><pubDate>Tue, 14 Feb 2012 09:46:00 +0000</pubDate><guid>https://bryanavery.co.uk/visual-c-and-net-4-0-samples/</guid><description>&lt;p&gt;I came across some nice C# samples from Microsoft today providing everything from Hello World, to how to use Yield and how to program Attributes.&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="https://bryanavery.co.uk/file.axd?file=2012/2/OfficialVisualStudio2010SamplesforCsharp40.zip"&gt;Official Visual Studio 2010 Samples for C# 4.0&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;Worth having a look at if you are a beginner or a seasoned programmer.&lt;/p&gt;</description></item><item><title>Resources for Workflow</title><link>https://bryanavery.co.uk/resources-for-workflow/</link><pubDate>Mon, 13 Feb 2012 08:51:00 +0000</pubDate><guid>https://bryanavery.co.uk/resources-for-workflow/</guid><description>&lt;p&gt;&lt;a href="http://channel9.msdn.com/Shows/Workflow-TV/endpointtv-Lab-Introduction-to-WF4-Exercise-3-The-Code-Activity" target="_blank"&gt;http://channel9.msdn.com/Shows/Workflow-TV/endpointtv-Lab-Introduction-to-WF4-Exercise-3-The-Code-Activity&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Windows mouse acting like a Mac mouse</title><link>https://bryanavery.co.uk/windows-mouse-acting-like-a-mac-mouse/</link><pubDate>Wed, 08 Feb 2012 14:29:00 +0000</pubDate><guid>https://bryanavery.co.uk/windows-mouse-acting-like-a-mac-mouse/</guid><description>&lt;p&gt;One great feature about the Mac is the way the mouse movement is active on a window without the need to click on the window.  This is called XWindows mode.&lt;/p&gt;&#10;&lt;p&gt;Well I have just found out you can do this in Windows too:&lt;/p&gt;</description></item><item><title>ASP.NET MVC Routing checker</title><link>https://bryanavery.co.uk/asp-net-mvc-routing-checker/</link><pubDate>Thu, 02 Feb 2012 10:16:00 +0000</pubDate><guid>https://bryanavery.co.uk/asp-net-mvc-routing-checker/</guid><description>&lt;p&gt;I came across this nice little MVC routing checker by Phil Haacket&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="http://haacked.com/archive/2008/03/13/url-routing-debugger/" target="_blank"&gt;http://haacked.com/archive/2008/03/13/url-routing-debugger/&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;Simple to use just add&lt;/p&gt;&#10;&lt;pre class="brush: c-sharp;"&gt;RouteDebug.RouteDebugger.RewriteRoutesForTesting(RouteTable.Routes);&lt;/pre&gt;&#10;&lt;p&gt;in to the Application_Start of your Global.asax and it does all the reporting on all your Routings&lt;/p&gt;</description></item><item><title>ASP.NET MVC 3 Internationalization</title><link>https://bryanavery.co.uk/asp-net-mvc-3-internationalization/</link><pubDate>Tue, 24 Jan 2012 08:44:00 +0000</pubDate><guid>https://bryanavery.co.uk/asp-net-mvc-3-internationalization/</guid><description>&lt;p&gt;With MVC getting more popular each day and C# increasing the market share (&lt;a href="http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html" target="_blank"&gt;Tiobe index&lt;/a&gt;) and your applications getting larger it is worth looking in to how to Internationalise your application, the source of all sources for internationalization is &lt;a href="http://twitter.com/GuySmithFerrier" target="_blank"&gt;Guy Smith-Ferrier&lt;/a&gt; and his &lt;a href="http://www.guysmithferrier.com/?tag=/internationalization" target="_blank"&gt;blog&lt;/a&gt; is a source of wealthy knowledge.&lt;/p&gt;</description></item><item><title>Essentials of Computer Programming</title><link>https://bryanavery.co.uk/essentials-of-computer-programming/</link><pubDate>Mon, 23 Jan 2012 12:40:00 +0000</pubDate><guid>https://bryanavery.co.uk/essentials-of-computer-programming/</guid><description>&lt;p&gt;Two great videos from Hillel Coren, a 20 minute crash course reviewing the essentials of computer programming.&lt;/p&gt;&#10;&lt;p&gt;&lt;iframe frameborder="0" height="315" src="https://www.youtube.com/embed/v86fZZ0YpQs" width="560"&gt;&lt;/iframe&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;iframe frameborder="0" height="315" src="https://www.youtube.com/embed/fSWlf56SiW8" width="560"&gt;&lt;/iframe&gt;&lt;/p&gt;&#10;&lt;p&gt;Don’t thank me thank &lt;a href="http://hillelcoren.com/" target="_blank"&gt;Hillel&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt; &lt;/p&gt;</description></item><item><title>Workflow with TFS</title><link>https://bryanavery.co.uk/workflow-with-tfs/</link><pubDate>Tue, 17 Jan 2012 15:35:00 +0000</pubDate><guid>https://bryanavery.co.uk/workflow-with-tfs/</guid><description>&lt;p&gt;I’ve been working with TFS for sometime and when you are using the process flows you need to understand how the workflows work with the work items types.&lt;/p&gt;&#10;&lt;p&gt;There are two main types I have worked with Agile and CMMI Process Improvements.&lt;/p&gt;</description></item><item><title>Amending a SQL table without getting “Saving changes is not permitted”</title><link>https://bryanavery.co.uk/amending-a-sql-table-without-getting-saving-changes-is-not-permitted/</link><pubDate>Tue, 17 Jan 2012 15:07:00 +0000</pubDate><guid>https://bryanavery.co.uk/amending-a-sql-table-without-getting-saving-changes-is-not-permitted/</guid><description>&lt;p&gt;When I come to amend a table in SQL Server all is fine until you come to save the new structure you end up getting the following message:&lt;/p&gt;&#10;&lt;p&gt;“Saving changes is not permitted. The changes you have made require the following tables to be dropped and re-created. You have either made changes to a table that can’t be re-created or enabled the option Prevent saving changes that require the table to be re-created.”&lt;/p&gt;</description></item><item><title>ILinqRepository at last</title><link>https://bryanavery.co.uk/ilinqrepository-at-last/</link><pubDate>Tue, 17 Jan 2012 12:03:00 +0000</pubDate><guid>https://bryanavery.co.uk/ilinqrepository-at-last/</guid><description>&lt;p&gt;LINQ to SQL is a very easy to use and very powerful tool for many things when dealing with SQL.  But the time has come that I need to wrap it all up and use an iRepository pattern.  I’ve Googled for the IRepository and found a few useful references but none that will complete my picture.  How ever I did get some good ideas when looking around othe rimplementation of the IRepository pattern that others had implmented.&lt;/p&gt;</description></item><item><title>Transaction scoping within Linq to Sql</title><link>https://bryanavery.co.uk/transaction-scoping-within-linq-to-sql/</link><pubDate>Mon, 16 Jan 2012 14:24:00 +0000</pubDate><guid>https://bryanavery.co.uk/transaction-scoping-within-linq-to-sql/</guid><description>&lt;p&gt;If you are like me and us are using an IRepository for Linq to SQL you’ll probably at some point need to be able to generate a Transaction.&lt;/p&gt;&#10;&lt;p&gt;As the IRepository saves records as it goes and not on a SubmitChanges() we’re going to have to use the &lt;a href="http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope/" target="_blank"&gt;Microsoft TransactionScope Class&lt;/a&gt;, from the &lt;span&gt;System.Transactions&lt;/span&gt; (in System.Transactions.dll), which makes a code block transactional.&lt;/p&gt;</description></item><item><title>Google Mail not searching everywhere</title><link>https://bryanavery.co.uk/google-mail-not-searching-everywhere/</link><pubDate>Fri, 16 Dec 2011 08:33:00 +0000</pubDate><guid>https://bryanavery.co.uk/google-mail-not-searching-everywhere/</guid><description>&lt;p&gt;Ever used Google Mail and the search when trying to find something and it can’t find it.  This is most probably because it is somewhere where the default search does not look in, like the BIN&lt;/p&gt;</description></item><item><title>Rhino Mocks quick reference</title><link>https://bryanavery.co.uk/rhino-mocks-quick-reference/</link><pubDate>Thu, 15 Dec 2011 09:14:00 +0000</pubDate><guid>https://bryanavery.co.uk/rhino-mocks-quick-reference/</guid><description>&lt;p&gt;Found this quick reference for Rhino Mocks (3.3), very useful&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="https://bryanavery.co.uk/file.axd?file=2011/12/Rhino+Mocks+3.3+Quick+Reference.pdf"&gt;Rhino Mocks 3.3 Quick Reference.pdf (261.98 kb)&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Debugging and developing using Firefox</title><link>https://bryanavery.co.uk/debugging-and-developing-using-firefox/</link><pubDate>Fri, 09 Dec 2011 08:53:00 +0000</pubDate><guid>https://bryanavery.co.uk/debugging-and-developing-using-firefox/</guid><description>&lt;p&gt;So I need to trap and look at the traffic going over HTTP and knowing that Firefox is the browser to use with all it different plugins it makes sense to download the latest version of Firefox and see what I can plug in to it.&lt;/p&gt;</description></item><item><title>Back and working</title><link>https://bryanavery.co.uk/back-and-working/</link><pubDate>Fri, 09 Dec 2011 08:48:00 +0000</pubDate><guid>https://bryanavery.co.uk/back-and-working/</guid><description>&lt;p&gt;So I’m back and ready to go, with just getting back from my travelling I’m back at work with only two days of my own time….!  Oh well I was looking at taking December off and start fully working in the new year.  Not that I took the first job that came along, far from it.  While on the beaches of Goa I made up a list of what work I will only accept it included working near where I live, work I have done before so as to make it easier to get back in to the working mode, something to do with the Olympics, and a small team on a new project.  And you guessed it this role fits all the criteria so a result &lt;/p&gt;</description></item><item><title>Audit information with SQL</title><link>https://bryanavery.co.uk/audit-information-with-sql/</link><pubDate>Fri, 17 Sep 2010 12:50:00 +0000</pubDate><guid>https://bryanavery.co.uk/audit-information-with-sql/</guid><description>&lt;p&gt;Time comes when you have a database running, fully deployed and working, and a few years later something appears to be going wrong but you are not sure what or what is happening.&lt;/p&gt;&#10;&lt;p&gt;You start looking at possible options, and one of the first that springs to mind is performing an audit on any changed information, wouldn’t it be nice to be able to audit information so that you can see what an when things are changing?&lt;/p&gt;</description></item><item><title>Dilbet</title><link>https://bryanavery.co.uk/dilbet/</link><pubDate>Thu, 01 Jul 2010 14:43:00 +0000</pubDate><guid>https://bryanavery.co.uk/dilbet/</guid><description>&lt;p&gt;&lt;img alt="" decoding="async" src="https://bryanavery.co.uk/uploads/2010/7/Dilbert.bmp"/&gt;&lt;/p&gt;</description></item><item><title>Spinning image for loading a page</title><link>https://bryanavery.co.uk/spinning-image-for-loading-a-page/</link><pubDate>Mon, 28 Jun 2010 10:41:00 +0000</pubDate><guid>https://bryanavery.co.uk/spinning-image-for-loading-a-page/</guid><description>&lt;p&gt;Found a nice simple page to generate a Loading Images, simple to use and so easy to generate the image that you need&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="http://www.ajaxload.info/" target="_blank"&gt;http://www.ajaxload.info/&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Are you ready for HTML5</title><link>https://bryanavery.co.uk/are-you-ready-for-html5/</link><pubDate>Wed, 23 Jun 2010 10:43:00 +0000</pubDate><guid>https://bryanavery.co.uk/are-you-ready-for-html5/</guid><description>&lt;p&gt;With HTML5 becoming more of the norm, well if it’s not it is about to be, and IE6 not supporting it (hang on IE9 does not currently support it either!), so it will just have to be dumped, at last  🙂  As us developers will need to get up to speed on HTML5 there is a new resource available from Google, &lt;a href="http://www.html5rocks.com/" target="_blank"&gt;HTML5Rocks&lt;/a&gt;, lots of great resource and information available on this site&lt;/p&gt;</description></item><item><title>LINQ to SQL using SoC</title><link>https://bryanavery.co.uk/linq-to-sql-using-soc/</link><pubDate>Wed, 23 Jun 2010 09:55:00 +0000</pubDate><guid>https://bryanavery.co.uk/linq-to-sql-using-soc/</guid><description>&lt;p&gt;I have had a few people saying that LINQ to SQL is hard to use for Separation of Concerns, so I’ve created a small project that show how to do it.  I have used the MEF as my SoC framework.&lt;/p&gt;</description></item><item><title>MEF not supporting open generic types</title><link>https://bryanavery.co.uk/mef-not-supporting-open-generic-types/</link><pubDate>Wed, 23 Jun 2010 09:32:00 +0000</pubDate><guid>https://bryanavery.co.uk/mef-not-supporting-open-generic-types/</guid><description>&lt;p&gt;&lt;span style="font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; border-collapse: collapse; line-height: 18px;"&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; clear: both; word-wrap: break-word; background-position: initial initial; background-repeat: initial initial; padding: 0px; border: 0px initial initial;"&gt;If you are trying to use MEF with open generic types like:&lt;/p&gt;</description></item><item><title>How to generate LINQ to SQL Mapping</title><link>https://bryanavery.co.uk/how-to-generate-linq-to-sql-mapping/</link><pubDate>Tue, 22 Jun 2010 11:25:00 +0000</pubDate><guid>https://bryanavery.co.uk/how-to-generate-linq-to-sql-mapping/</guid><description>&lt;p&gt;You may or may not have come across the ability within LINQ to SQL to have mapping to and from your own objects.&lt;/p&gt;&#10;&lt;p&gt;Microsoft has a mapping builder called &lt;a href="http://msdn.microsoft.com/en-us/library/bb386987/" target="_blank"&gt;sqlmetal&lt;/a&gt;, which is a code generation tool to generate the mapping automatically.&lt;/p&gt;</description></item><item><title>Running Gallio tests within Visual Studio</title><link>https://bryanavery.co.uk/running-gallio-tests-within-visual-studio/</link><pubDate>Tue, 22 Jun 2010 09:25:00 +0000</pubDate><guid>https://bryanavery.co.uk/running-gallio-tests-within-visual-studio/</guid><description>&lt;p&gt;While using &lt;a href="http://www.gallio.org/" target="_blank"&gt;Gallio&lt;/a&gt; for performing Unit Tests within Visual Studio, I have noticed that some times you can’t run Unit Tests, or it says that no tests available, with thanks to Lee, he pointed me to a simple fix&lt;/p&gt;</description></item><item><title>PRETEC i-DISK – how to rescue</title><link>https://bryanavery.co.uk/pretec-i-disk-how-to-rescue/</link><pubDate>Fri, 18 Jun 2010 12:58:00 +0000</pubDate><guid>https://bryanavery.co.uk/pretec-i-disk-how-to-rescue/</guid><description>&lt;p&gt;I recently purchased a Pertec i-Disk Bullet 32Gb, and within a hour I had broken it, it had become write protected, not sure why.  After an e-mail to Pertec support they sent me a solution to solve the problem, here is what they said and how to get your i-Disk working again&lt;/p&gt;</description></item><item><title>AutoMapper</title><link>https://bryanavery.co.uk/automapper/</link><pubDate>Fri, 18 Jun 2010 09:16:00 +0000</pubDate><guid>https://bryanavery.co.uk/automapper/</guid><description>&lt;p&gt;I have just given an hour presentation on &lt;a href="http://automapper.codeplex.com/" target="_blank"&gt;AutoMapper&lt;/a&gt;, and great Object to Object mapper.&lt;/p&gt;&#10;&lt;p&gt;Here is the source file with the samples&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="https://bryanavery.co.uk/file.axd?file=2010/6/AutoMapper.zip"&gt;AutoMapper.zip (855.99 kb)&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Convert a List in to a Collection</title><link>https://bryanavery.co.uk/convert-a-list-in-to-a-collection/</link><pubDate>Thu, 17 Jun 2010 10:16:00 +0000</pubDate><guid>https://bryanavery.co.uk/convert-a-list-in-to-a-collection/</guid><description>&lt;p&gt;If you have an object that contains a List or IList, and you need to convert it in to a Collection, here is how you can do it in a single line.&lt;/p&gt;&#10;&lt;p&gt;var foo = new Collection&amp;lt;FooList&amp;gt;(fooList);&lt;/p&gt;</description></item><item><title>Dependencies</title><link>https://bryanavery.co.uk/dependencies/</link><pubDate>Wed, 16 Jun 2010 13:39:00 +0000</pubDate><guid>https://bryanavery.co.uk/dependencies/</guid><description>&lt;p&gt;&lt;img alt="" decoding="async" src="https://bryanavery.co.uk/uploads/2010/6/dependencies.png"/&gt;&lt;/p&gt;</description></item><item><title>How to serialize/deserialize a nullable date</title><link>https://bryanavery.co.uk/how-to-serializedeserialize-a-nullable-date/</link><pubDate>Fri, 11 Jun 2010 09:04:00 +0000</pubDate><guid>https://bryanavery.co.uk/how-to-serializedeserialize-a-nullable-date/</guid><description>&lt;p&gt;The time will come when you are serializing and deserializing object to and from XML that you will come across nullable dates, or more correctly an attribute XML date that is nullable.  If you are like me and using the &lt;a href="http://msdn.microsoft.com/en-us/library/system.xml.serialization/" target="_blank"&gt;System.Xml.Serialization&lt;/a&gt; namespace, which make the complete process of serializing and deserializing so much easier.&lt;/p&gt;</description></item><item><title>Running Gallio tests using MSBuild</title><link>https://bryanavery.co.uk/running-gallio-tests-using-msbuild/</link><pubDate>Mon, 07 Jun 2010 09:00:00 +0000</pubDate><guid>https://bryanavery.co.uk/running-gallio-tests-using-msbuild/</guid><description>&lt;p&gt;When using a Continuous Integration server such as TeamCity, you’ll need to be able to perform the ability to run tests, the easiest and most controlled way is by writing your own MSBuild Script.&lt;/p&gt;&#10;&lt;p&gt;Here is a little build script that finds all the test files and then runs them using Gallio, of course you need to reference the Gallio MSBuildTasks, in my case they are in C:\Program Files\Gallio\bin\Gallio.MsBuildTasks.dll&lt;/p&gt;</description></item><item><title>How does Home Server take those backups?</title><link>https://bryanavery.co.uk/how-does-home-server-take-those-backups/</link><pubDate>Sat, 05 Jun 2010 06:44:00 +0000</pubDate><guid>https://bryanavery.co.uk/how-does-home-server-take-those-backups/</guid><description>&lt;p&gt;I’ve been using Home Server to take backups of all my machines on my network, and I am very pleased, it’s an install and forget service, which is nice for a change from Microsoft.  Until I had to upgrade my server and install two new hard drives.  I found my old backups were no longer available, this would not have been an issue until you need some information held on an old backup, which my Son did.  So after many hours of trying I finally found a document that explains the complete process&lt;/p&gt;</description></item><item><title>How to get MEF to load all Assemblies in a directory</title><link>https://bryanavery.co.uk/how-to-get-mef-to-load-all-assemblies-in-a-directory/</link><pubDate>Fri, 04 Jun 2010 11:17:00 +0000</pubDate><guid>https://bryanavery.co.uk/how-to-get-mef-to-load-all-assemblies-in-a-directory/</guid><description>&lt;p&gt;The nice thing about MEF is the ability to &lt;span style='font-size: 7.5pt; font-family: Verdana; mso-fareast-font-family: PMingLiU; mso-bidi-font-family: "Times New Roman"; color: black; mso-ansi-language: EN-GB; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA;'&gt;dynamically &lt;/span&gt;load additional modules in to an application with very little effort.&lt;/p&gt;</description></item><item><title>Using MEF to provide PlugIns</title><link>https://bryanavery.co.uk/using-mef-to-provide-plugins/</link><pubDate>Thu, 27 May 2010 14:54:00 +0000</pubDate><guid>https://bryanavery.co.uk/using-mef-to-provide-plugins/</guid><description>&lt;p&gt;&lt;a href="http://en.wikipedia.org/wiki/Managed_Extensibility_Framework" rel="noopener" target="_blank"&gt;MEF&lt;/a&gt; has now been released, a Plug-In Framework, for .Net 4.0&lt;/p&gt;&#10;&lt;p&gt;After reading up on CodePlex, I have generated a small application that provides a plug-in framework, see attached below.&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="http://mef.codeplex.com/wikipage?title=Guide&amp;amp;referringTitle=Overview" rel="noopener" target="_blank"&gt;http://mef.codeplex.com/wikipage?title=Guide&amp;amp;referringTitle=Overview&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="https://bryanavery.co.uk/media/articles/2018/01/MEF.zip"&gt;MEF.zip (70.88 kb)&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;I’ve also produced a .NET 3.5 version too:&lt;/p&gt;</description></item><item><title>How to use DataAnnotations Validation</title><link>https://bryanavery.co.uk/how-to-use-dataannotations-validation/</link><pubDate>Wed, 26 May 2010 11:14:00 +0000</pubDate><guid>https://bryanavery.co.uk/how-to-use-dataannotations-validation/</guid><description>&lt;p&gt;The use of &lt;a href="http://msdn.microsoft.com/en-us/library/system.componentmodel.dataannotations/" target="_blank"&gt;DataAnnotations&lt;/a&gt;, has increased over the years, as many frameworks are using it more and more, (MVC, Silverlight, etc).&lt;/p&gt;&#10;&lt;p&gt;However if you need to perform validation within your application and it is not any known framework then can we still use DataAnnotations?&lt;/p&gt;</description></item><item><title>Code Coverage</title><link>https://bryanavery.co.uk/code-coverage/</link><pubDate>Wed, 19 May 2010 09:49:00 +0000</pubDate><guid>https://bryanavery.co.uk/code-coverage/</guid><description>&lt;p&gt; &lt;/p&gt;&#10;&lt;p class="MsoNormal"&gt;&lt;strong style="mso-bidi-font-weight: normal;"&gt;&lt;span style="font-size: 10.0pt; font-family: Arial;"&gt;What is code coverage?&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&#10;&lt;p class="MsoNormal"&gt;&lt;span style="font-family: Arial; font-size: 13px;"&gt;Code coverage, in short, is all about how thoroughly your tests exercise your code base. The intent of tests, of course, is to verify that your code does what it’s expected to, but also to document what the code is expected to do. Taken further, code coverage can be considered as an indirect measure of quality — indirect because we’re talking about the degree to what our tests cover our code, or simply, the quality of tests. In other words, code coverage is not about verifying the end product’s quality.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Generating Sequence Diagrams</title><link>https://bryanavery.co.uk/generating-sequence-diagrams/</link><pubDate>Fri, 14 May 2010 09:26:00 +0000</pubDate><guid>https://bryanavery.co.uk/generating-sequence-diagrams/</guid><description>&lt;p&gt;From time to time I need to generate Sequence Diagrams, as this are required to graphically represent processes, as a consultant each customer has a different sent of tools you can and can not use.  So it becomes hard to generate what should be something you don’t have to think about.&lt;/p&gt;</description></item><item><title>Validating XML against an XSD Schema</title><link>https://bryanavery.co.uk/validating-xml-against-an-xsd-schema/</link><pubDate>Thu, 06 May 2010 14:33:00 +0000</pubDate><guid>https://bryanavery.co.uk/validating-xml-against-an-xsd-schema/</guid><description>&lt;p&gt;When handling XML files you are going to need to validate the XML, and the best way, currently, is to use an XSD Schema.  It took me a little while to work out how to do this, and with help from &lt;a href="http://www.google.com/profiles/assaflavie" target="_blank"&gt;Assaf Lavie&lt;/a&gt; I finally came up with a method to validate two streams, one holding the XML the other the XSD.&lt;/p&gt;</description></item><item><title>String to a Stream</title><link>https://bryanavery.co.uk/string-to-a-stream/</link><pubDate>Thu, 06 May 2010 11:58:00 +0000</pubDate><guid>https://bryanavery.co.uk/string-to-a-stream/</guid><description>&lt;p&gt;The time has come where I needed to handle streams, so the first I needed to generate some tests and within these tests I need to generate a stream based on some text.  So the first task was to convert a String in to a Stream, and while I am at it how about the other direction to (Stream to a String)&lt;/p&gt;</description></item><item><title>Rapid Generation of test objects</title><link>https://bryanavery.co.uk/rapid-generation-of-test-objects/</link><pubDate>Tue, 04 May 2010 16:34:00 +0000</pubDate><guid>https://bryanavery.co.uk/rapid-generation-of-test-objects/</guid><description>&lt;p&gt;I came across a very easy to use and useful generation tool for objects today, &lt;a href="http://nbuilder.org/" target="_blank"&gt;NBuilder&lt;/a&gt;.&lt;/p&gt;&#10;&lt;p&gt;Through a fluent, extensible interface, &lt;a href="http://nbuilder.org/" target="_blank"&gt;NBuilder&lt;/a&gt; allows you to rapidly create test data, automatically assigning values to properties and public fields that are of type of the built in .NET data types (e.g. ints and strings). NBuilder allows you to override for properties you are interested in using lambda expressions.&lt;/p&gt;</description></item><item><title>XSD Schema’s – Reference</title><link>https://bryanavery.co.uk/xsd-schemas-reference/</link><pubDate>Thu, 29 Apr 2010 12:52:00 +0000</pubDate><guid>https://bryanavery.co.uk/xsd-schemas-reference/</guid><description>&lt;p&gt;If you have ever come across generating XSD’s then you will soon find out that it’s a new ball game.  So in order to help you along I have generated this reference point of items that I have found useful.&lt;/p&gt;</description></item><item><title>The need to generate an XSD from XML</title><link>https://bryanavery.co.uk/the-need-to-generate-an-xsd-from-xml/</link><pubDate>Wed, 28 Apr 2010 15:30:00 +0000</pubDate><guid>https://bryanavery.co.uk/the-need-to-generate-an-xsd-from-xml/</guid><description>&lt;p&gt;I came across a very simple to use XML to XSD generator today&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="http://www.xmlforasp.net/CodeBank/System_Xml_Schema/BuildSchema/BuildXMLSchema/" target="_blank"&gt;http://www.xmlforasp.net/CodeBank/System_Xml_Schema/BuildSchema/BuildXMLSchema/&lt;/a&gt;&lt;/p&gt;</description></item><item><title>AutoHotKey to increase productivity</title><link>https://bryanavery.co.uk/autohotkey-to-increase-productivity/</link><pubDate>Tue, 27 Apr 2010 11:21:00 +0000</pubDate><guid>https://bryanavery.co.uk/autohotkey-to-increase-productivity/</guid><description>&lt;p&gt;While attending a &lt;a href="http://dotnetdevnet.com/" target="_blank"&gt;DotNetDevNet&lt;/a&gt; meeting in September 2009, &lt;a href="http://dotnetdevnet.com/Meetings/tabid/54/Default/" target="_blank"&gt;by Stephen Oakman and Ronnie Barker&lt;/a&gt;, I remembered they used a tool called &lt;a href="http://www.autohotkey.com/" target="_blank"&gt;AutoHotKey&lt;/a&gt;, I’ve just revisited the tool and found it has increased my productivity, and combining it with &lt;a href="http://blog.jpboodhoo.com/searchview/?q=autohotkey" target="_blank"&gt;Jean-Paul S. Boodhoo article&lt;/a&gt; for replacing spaces with underscores it is just perfect for generating unit tests.&lt;/p&gt;</description></item><item><title>WCF Message can only be read once</title><link>https://bryanavery.co.uk/wcf-message-can-only-be-read-once/</link><pubDate>Fri, 23 Apr 2010 11:01:00 +0000</pubDate><guid>https://bryanavery.co.uk/wcf-message-can-only-be-read-once/</guid><description>&lt;p&gt;WCF is a very powerful tool for developers, and I’m sure as you dive in to the development environment you will come across the WCF &lt;a href="http://msdn.microsoft.com/en-us/library/system.servicemodel.channels.message/" target="_blank"&gt;Message&lt;/a&gt;, which is part of &lt;a href="http://msdn.microsoft.com/en-us/library/system.servicemodel.channels/" target="_blank"&gt;System.ServiceModel.Channels&lt;/a&gt; Namespace. You should be aware that a message body can only be accessed once and a message can only be written once.  This will in turn can cause a problem if you are creating your own &lt;a href="http://msdn.microsoft.com/en-us/library/system.servicemodel.dispatcher.idispatchmessageinspector/" target="_blank"&gt;IDispatchMessageInspector&lt;/a&gt;, as at some you will need to read the message and once you have read it, you are buggered!&lt;/p&gt;</description></item><item><title>XSD to Objects</title><link>https://bryanavery.co.uk/xsd-to-objects/</link><pubDate>Fri, 16 Apr 2010 14:54:00 +0000</pubDate><guid>https://bryanavery.co.uk/xsd-to-objects/</guid><description>&lt;p&gt;I’ve been dealing with REST services within WCF, and one thing that has come to my attention is that the calling service or third party only has access to the REST interface and the XSD’s.&lt;/p&gt;</description></item><item><title>MVVM Material</title><link>https://bryanavery.co.uk/mvvm-material/</link><pubDate>Tue, 13 Apr 2010 09:36:00 +0000</pubDate><guid>https://bryanavery.co.uk/mvvm-material/</guid><description>&lt;p class="MsoNormal"&gt;&lt;span style="font-family: Verdana; font-size: x-small;"&gt;&lt;span style="font-family: Verdana; font-size: 10pt;"&gt;After attending a talk on &lt;span class="BCC_CL_05DarkOrangeTitle" id="dnn_ctr377_dnnTITLE_lblTitle"&gt;Silverlight 4, MVVM and TDD with Jesse Liberty, I thought it would be an idea to find out more information on MVVM, &lt;a href="http://www.jammer.biz/about.php" target="_blank"&gt;James Green&lt;/a&gt; provided me with a number of worth while links by &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Verdana; font-size: x-small;"&gt;&lt;span style="font-family: Verdana; font-size: 10pt;"&gt;Jason Dollinger from Lab49.  The main blog post is here &lt;a href="http://blog.lab49.com/archives/2650" target="_blank" title="http://blog.lab49.com/archives/2650"&gt;http://blog.lab49.com/archives/2650&lt;/a&gt; but the actual video is here &lt;a href="http://www.lab49.com/files/videos/Jason%20Dolinger%20MVVM.wmv" target="_blank" title="http://www.lab49.com/files/videos/Jason%20Dolinger%20MVVM.wmv"&gt;http://www.lab49.com/files/videos/Jason%20Dolinger%20MVVM.wmv&lt;/a&gt; big download (about 1.5 hours).&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Passing Validation exceptions via WCF REST</title><link>https://bryanavery.co.uk/passing-validation-exceptions-via-wcf-rest/</link><pubDate>Tue, 06 Apr 2010 09:43:00 +0000</pubDate><guid>https://bryanavery.co.uk/passing-validation-exceptions-via-wcf-rest/</guid><description>&lt;p&gt;When using WCF and Rest one thing you’re going to have to consider is the validation of the object, the way to do this is using the &lt;a href="http://msdn.microsoft.com/en-us/library/dd140088/" target="_blank"&gt;Validation Application Block&lt;/a&gt; included in the Microsoft Enterprise Library to validate the data transfer objects. This way you can decorate the objects with &lt;a href="http://msdn.microsoft.com/en-us/library/dd139849/" target="_blank"&gt;attributes to validated the objects&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Lifestyles of the Castle Windsor IoC Containers</title><link>https://bryanavery.co.uk/lifestyles-of-the-castle-windsor-ioc-containers/</link><pubDate>Thu, 01 Apr 2010 14:12:00 +0000</pubDate><guid>https://bryanavery.co.uk/lifestyles-of-the-castle-windsor-ioc-containers/</guid><description>&lt;p&gt;It’s worth knowing how the Castle Windsor IoC work, by default it uses Singletons, where this will work for the most of the time, there are a lot more options available to you depending on your needs.  These lifestyles that are available in Castle Windsor are:&lt;/p&gt;</description></item><item><title>MVC 2 makes it easier to copy models</title><link>https://bryanavery.co.uk/mvc-2-makes-it-easier-to-copy-models/</link><pubDate>Thu, 01 Apr 2010 09:45:00 +0000</pubDate><guid>https://bryanavery.co.uk/mvc-2-makes-it-easier-to-copy-models/</guid><description>&lt;p&gt;With MVC 2 now released, I have found a nice little feature for updating models.&lt;/p&gt;&#10;&lt;p&gt;The normal practice is to use, a mapping technique like this&lt;/p&gt;&#10;&lt;p style="padding-left: 30px;"&gt;&lt;span style="color: #0000ff;"&gt;public&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;void&lt;/span&gt; Save(EmployeeViewModel employeeViewModel)&lt;br/&gt;{&lt;br/&gt;    var employee = (from emp &lt;span style="color: #0000ff;"&gt;in&lt;/span&gt; dataContext.Employees&lt;br/&gt;                   &lt;span style="color: #0000ff;"&gt;where&lt;/span&gt; emp.EmployeeID == employeeViewModel.EmployeeID&lt;br/&gt;                   select emp).SingleOrDefault();&lt;/p&gt;</description></item><item><title>Introduction to Dependency Injection</title><link>https://bryanavery.co.uk/introduction-to-dependency-injection/</link><pubDate>Thu, 01 Apr 2010 09:00:00 +0000</pubDate><guid>https://bryanavery.co.uk/introduction-to-dependency-injection/</guid><description>&lt;p&gt;Dependency Injection (DI) is an incredibly useful and easy technique which makes your code a lot easier to test.&lt;/p&gt;&#10;&lt;p&gt;I like to use samples to explain Dependency Injection. We’ll use a SqlMetaDataProvider class which needs to provide the meta data coming from a SQL Server database. It retrieves the meta data from the database in a relational structure (a DataSet) and then converts it to an easy to use object model. Obviously, i want to be able to test this class without actually going to the database because that would make the tests slow. So how can we test if the relational data is being converted to the object model without going to the database?&lt;/p&gt;</description></item><item><title>Using REST via WCF</title><link>https://bryanavery.co.uk/using-rest-via-wcf/</link><pubDate>Tue, 23 Mar 2010 11:26:00 +0000</pubDate><guid>https://bryanavery.co.uk/using-rest-via-wcf/</guid><description>&lt;p&gt;With WCF now being around for some time, it supports many protocols, mainly SOAP, but it does also support Rest, the question is how do you do it?  Well I have got the sample working from the MSDN Magazine.  If you’d like the full detailed explaintation then you can go to &lt;a href="http://msdn.microsoft.com/en-us/magazine/dd315413/" target="_blank"&gt;An Introduction To RESTful Services With WCF&lt;/a&gt; &lt;/p&gt;</description></item><item><title>Casing Objects using Interfaces</title><link>https://bryanavery.co.uk/casing-objects-using-interfaces/</link><pubDate>Fri, 19 Mar 2010 16:24:00 +0000</pubDate><guid>https://bryanavery.co.uk/casing-objects-using-interfaces/</guid><description>&lt;p&gt;Some times you need to cast from one object to the other, and then back again, the easiest way of doing this is using Interface casting, I’ve generated this simple project which show how it works.&lt;/p&gt;</description></item><item><title>ASP.NET MVC 2 Released</title><link>https://bryanavery.co.uk/asp-net-mvc-2-released/</link><pubDate>Fri, 12 Mar 2010 13:26:00 +0000</pubDate><guid>https://bryanavery.co.uk/asp-net-mvc-2-released/</guid><description>&lt;p&gt;MVC 2 has been released, I’ve been developing an application using the RC and I am very happy with the new features, there are so many, Areas, Auto-Scaffold UI Helpers with Template Customization which I just love.&lt;/p&gt;</description></item><item><title>enums with real world names</title><link>https://bryanavery.co.uk/enums-with-real-world-names/</link><pubDate>Thu, 04 Mar 2010 18:54:00 +0000</pubDate><guid>https://bryanavery.co.uk/enums-with-real-world-names/</guid><description>&lt;p&gt;Enums are a wonderful addition to .Net, but won’t it be nice to have a real world description that you can display to the user interface? Well you can, and here is how define an attribute (or use existing DisplayNameAttribute) and annotate your enum with names as additional meta-data:&lt;/p&gt;</description></item><item><title>Conditional Breakpoints</title><link>https://bryanavery.co.uk/conditional-breakpoints/</link><pubDate>Wed, 03 Mar 2010 12:13:00 +0000</pubDate><guid>https://bryanavery.co.uk/conditional-breakpoints/</guid><description>&lt;p&gt;I know that conditional breakpoints have been around for some time, I just keep forgetting how to set it, so I though it should be time write how to set a conditional breakpoint on my blog.&lt;/p&gt;</description></item><item><title>Magic Mushrooms Make Everything Bigger and Better</title><link>https://bryanavery.co.uk/magic-mushrooms-make-everything-bigger-and-better/</link><pubDate>Fri, 05 Feb 2010 06:38:00 +0000</pubDate><guid>https://bryanavery.co.uk/magic-mushrooms-make-everything-bigger-and-better/</guid><description>&lt;p&gt;&lt;img alt="" decoding="async" src="https://bryanavery.co.uk/uploads/2010/2/17909_540.jpg"/&gt;&lt;/p&gt;</description></item><item><title>ASP.NET MVC 2 RC</title><link>https://bryanavery.co.uk/asp-net-mvc-2-rc/</link><pubDate>Fri, 29 Jan 2010 09:00:00 +0000</pubDate><guid>https://bryanavery.co.uk/asp-net-mvc-2-rc/</guid><description>&lt;p&gt;&lt;p&gt;MVC 2 is ready for use and designed to work with both VS 2008, as well as with VS 2010. &lt;/p&gt;&#10;&lt;p&gt;&lt;a href="http://www.microsoft.com/downloads/details/?FamilyID=3b537c55-0948-4e6a-bf8c-aa1a78878da0&amp;amp;displaylang=en" target="_blank"&gt;Click here&lt;/a&gt; to download the ASP.NET MVC 2 release candidate for .NET 3.5 and VS 2008.  Nice thing is that it can be installed side-by-side with ASP.NET MVC on the same machine.&lt;/p&gt;&lt;/p&gt;</description></item><item><title>Simple popups or hover overs</title><link>https://bryanavery.co.uk/simple-popups-or-hover-overs/</link><pubDate>Wed, 13 Jan 2010 10:53:00 +0000</pubDate><guid>https://bryanavery.co.uk/simple-popups-or-hover-overs/</guid><description>&lt;p&gt;Many a time you use the &amp;lt;a href’#’ title=’display a message’ /&amp;gt; to display a message when you want some hover over text to display additional information, which is fine, but what if you want to display some more fancy text, lets say in HTML you are stuck.&lt;/p&gt;</description></item><item><title>How do you retrieving the XmlEnumAttribute values for an Enum</title><link>https://bryanavery.co.uk/how-do-you-retrieving-the-xmlenumattribute-values-for-an-enum/</link><pubDate>Fri, 08 Jan 2010 06:27:00 +0000</pubDate><guid>https://bryanavery.co.uk/how-do-you-retrieving-the-xmlenumattribute-values-for-an-enum/</guid><description>&lt;p&gt;When you are playing with Web Services you quite often find information held in an Attribute, but how do you get it out?&lt;/p&gt;&#10;&lt;p&gt;e.g.&lt;/p&gt;&#10;&lt;p&gt;public enum Classification {&lt;/p&gt;&#10;&lt;p&gt;        [System.Xml.Serialization.XmlEnumAttribute(“Test drive demonstrator”)]&lt;br/&gt;        Testdrivedemonstrator,&lt;/p&gt;&#10;&lt;p&gt;        [System.Xml.Serialization.XmlEnumAttribute(“Showroom vehicle”)]&lt;br/&gt;        Showroomvehicle,&lt;/p&gt;&#10;&lt;p&gt; &lt;/p&gt;&#10;&lt;p&gt;By using reflection you can gain access to the attribute, here is how:&lt;/p&gt;</description></item><item><title>Last Years Toys</title><link>https://bryanavery.co.uk/last-years-toys/</link><pubDate>Mon, 04 Jan 2010 13:12:00 +0000</pubDate><guid>https://bryanavery.co.uk/last-years-toys/</guid><description>&lt;p&gt;It’s a new year and it’s must be time for me to go over what toys I have played with in 2009.&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="http://www.balsamiq.com/products/mockups" target="_blank"&gt;Balsamiq Mockups&lt;/a&gt; must be the best application and tool that I have come across this year, after giving a talk to &lt;a href="http://dotnetdevnet.com/" target="_blank"&gt;DotNetDevNet&lt;/a&gt; on the application I found that many other developers went ahead and bought the application too.&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="http://en.wikipedia.org/wiki/Notepad%2B" target="_blank"&gt;NotePad+&lt;/a&gt;, which is an extended version of the very basic default NotePad that comes with Windows.  Just replace your NotePad with this one and off you go.&lt;/li&gt;&#10;&lt;li&gt;SysInternals &lt;a href="http://technet.microsoft.com/en-us/sysinternals/bb896653/" target="_blank"&gt;Process Explorer&lt;/a&gt; I have used every day, mainly due to the fact that Windows does not handle resources and memory that well, so you have to have a tool to sort it out for you when things go wrong.&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://bryanavery.co.uk/post/2008/07/16/GhostDoc/" target="_blank"&gt;GhostDoc&lt;/a&gt; is an internal tool for use with Visual Studio and cuts down the amount of time required for documentation, and does it right all the time.&lt;/li&gt;&#10;&lt;li&gt;The biggest and most impressive toy last year has to be the purchase of a &lt;a href="http://store.apple.com/uk/browse/home/shop_mac/family/macbook_air?afid=p202%7CGOUKE105224173&amp;amp;cid=OAS-EMEA-KWG-UK_Top_KW_Exact-UK" target="_blank"&gt;MacBook&lt;/a&gt;, it’s so much easier than Windows 7, XP or Vista, and things just work as they should do, well designed and well throughout, this gets 10 out of 10 for last years toys.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;div&gt;I’m sure I’ve used some other toys last year, but these are the ones that I remember the most.&lt;/div&gt;</description></item><item><title>There is already an open DataReader associated with this Command which must be closed first.</title><link>https://bryanavery.co.uk/there-is-already-an-open-datareader-associated-with-this-command-which-must-be-closed-first/</link><pubDate>Wed, 18 Nov 2009 10:25:00 +0000</pubDate><guid>https://bryanavery.co.uk/there-is-already-an-open-datareader-associated-with-this-command-which-must-be-closed-first/</guid><description>&lt;p&gt;Having been using LINQ to SQL for some time now, I came across my very first issue “There is already an open DataReader associated with this Command which must be closed first.” it’s been some time since I had this issue.&lt;/p&gt;</description></item><item><title>JQuery and the DropDownList – ComboBox</title><link>https://bryanavery.co.uk/jquery-and-the-dropdownlist-combobox/</link><pubDate>Wed, 28 Oct 2009 08:59:00 +0000</pubDate><guid>https://bryanavery.co.uk/jquery-and-the-dropdownlist-combobox/</guid><description>&lt;p&gt;After playing around with Combo boxes for a while within jQuery I thought it would be good to write down, mainly so I can remember how to find and play with properties from within jQuery.  So here we go, here is the HTML that we’ll be using:&lt;/p&gt;</description></item><item><title>Videos of Scott’s sessions at the Manchester “Guathon”</title><link>https://bryanavery.co.uk/videos-of-scotts-sessions-at-the-manchester-guathon/</link><pubDate>Mon, 26 Oct 2009 08:41:00 +0000</pubDate><guid>https://bryanavery.co.uk/videos-of-scotts-sessions-at-the-manchester-guathon/</guid><description>&lt;p&gt; &lt;/p&gt;&#10;&lt;p&gt;Mike Taulty of Microsoft has now sorted out the Videos from the event Scott spoke at: –&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="http://mtaulty.com/CommunityServer/blogs/mike_taultys_blog/archive/2009/10/19/scottgu-manchester-visual-studio-2010-and-net-framework-4-0-video/" target="_blank"&gt;Visual Studio .NET&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="http://mtaulty.com/CommunityServer/blogs/mike_taultys_blog/archive/2009/10/19/scottgu-manchester-silverlight-video/" target="_blank"&gt;Silverlight&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="http://mtaulty.com/CommunityServer/blogs/mike_taultys_blog/archive/2009/10/24/scottgu-manchester-asp-net-mvc-video/" target="_blank"&gt;ASP.NET MVC&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt; &lt;/p&gt;&#10;&lt;p&gt; &lt;/p&gt;</description></item><item><title>The start of a partnership</title><link>https://bryanavery.co.uk/the-start-of-a-partnership/</link><pubDate>Sat, 24 Oct 2009 08:33:00 +0000</pubDate><guid>https://bryanavery.co.uk/the-start-of-a-partnership/</guid><description>&lt;p&gt;It’s time for me to upgrade my development computer, in order to do this I have a few requests of my new partnership, mainly due to the fact that Windows 7 has been out for a while, well from MSDN, and it has made a huge step forwards being able to harness the power of the processor.&lt;/p&gt;</description></item><item><title>Team Foundation Server 2008 installing on a single server</title><link>https://bryanavery.co.uk/team-foundation-server-2008-installing-on-a-single-server/</link><pubDate>Fri, 23 Oct 2009 10:19:00 +0000</pubDate><guid>https://bryanavery.co.uk/team-foundation-server-2008-installing-on-a-single-server/</guid><description>&lt;p&gt;I was given the task of installing Team Foundation Server on a single server, and there are a few things to check and need to have installed before you can install&lt;/p&gt;&#10;&lt;p&gt; &lt;/p&gt;&#10;&lt;p&gt;First read and the supplied TFSInstall.chm install guide file. This is key – if you are new to the TFS install and do not follow the supplied “checklists” for your chosen set up, you will endure pain and agony. &lt;/p&gt;</description></item><item><title>How do I create the aspnetdb database?</title><link>https://bryanavery.co.uk/how-do-i-create-the-aspnetdb-database/</link><pubDate>Sun, 11 Oct 2009 14:06:00 +0000</pubDate><guid>https://bryanavery.co.uk/how-do-i-create-the-aspnetdb-database/</guid><description>&lt;p&gt;I’ve been using the Microsoft Aspnetdb database for some time now, and I still get asked about how to create the database, so here you go enjoy:&lt;/p&gt;&#10;&lt;p&gt;Microsoft has a new and powerful default database schema in ASP.Net 2.0 as ASPNETDB.mdf database. This database file serves as a role provider, and membership provider. Visual Web Developer 2005 supports the ASP.Net configuration to manage this personal aspnetdb database file within the web application inside the App_Data folder. Aspnetdb database helps in managing users along with their roles e.g. admin, employee, editors etc. It also enables the in-built functionality of Login controls and web parts to be integrated on ASP.Net 2.0 web pages that helps in managing user profiles, login, and personalized user pages very easily even without writing the bulky code to implement the sql queries or stored procedures along with data access code for inserting, updating or deleting the user personalized data.&lt;/p&gt;</description></item><item><title>How to Collaborate with Remote Employees</title><link>https://bryanavery.co.uk/how-to-collaborate-with-remote-employees/</link><pubDate>Wed, 07 Oct 2009 06:41:00 +0000</pubDate><guid>https://bryanavery.co.uk/how-to-collaborate-with-remote-employees/</guid><description>&lt;p&gt;I’ve been working at home on and off for a number of year, and one thing that always comes up is how to collaborate with remote employees over the internet.&lt;/p&gt;&#10;&lt;p&gt;I have been using &lt;a href="https://connect.microsoft.com/site/sitehome/?SiteID=94" target="_blank"&gt;Microsoft Shared View&lt;/a&gt;, it’s easy to use and just does the job.  If you are using a Mac then you could also try out &lt;a href="http://wareseeker.com/Network-Internet/microsoft-sharedview-8.0.5725.0.zip/36aa4c746" target="_blank"&gt;Microsoft Shared View for the Mac&lt;/a&gt;, although I have not tested this out yet.&lt;/p&gt;</description></item><item><title>ASP.Net MVC Custom Error Pages</title><link>https://bryanavery.co.uk/asp-net-mvc-custom-error-pages/</link><pubDate>Sun, 04 Oct 2009 11:09:00 +0000</pubDate><guid>https://bryanavery.co.uk/asp-net-mvc-custom-error-pages/</guid><description>&lt;p&gt;Now that I’m using MVC fully it’s time to implement a Customer Error Page.&lt;/p&gt;&#10;&lt;p&gt;As ASP.NET MVC is a layer on top of ASP.NET we can still use the same Customer Errors that we are used to in the Web.Config, so just to make it SEO friendly, here is what it can look like:&lt;/p&gt;</description></item><item><title>Fastest way to Screen Cast</title><link>https://bryanavery.co.uk/fastest-way-to-screen-cast/</link><pubDate>Sun, 04 Oct 2009 08:25:00 +0000</pubDate><guid>https://bryanavery.co.uk/fastest-way-to-screen-cast/</guid><description>&lt;p&gt;If you need to screen cast then check out &lt;a href="http://www.screentoaster.com/" target="_blank"&gt;Screen Toaster&lt;/a&gt;, it’s fast easy to use&lt;/p&gt;&#10;&lt;p&gt; &lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Register &amp;amp; use it anywhere, anytime&lt;/li&gt;&#10;&lt;li&gt;No download. Compatible with Windows, Mac OS X, Linux.&lt;/li&gt;&#10;&lt;li&gt;Capture videos of onscreen action in one click&lt;/li&gt;&#10;&lt;li&gt;Record screencasts, tutorials, demos, training, lectures and more.&lt;/li&gt;&#10;&lt;li&gt;Share and stream videos online in Flash&lt;/li&gt;&#10;&lt;li&gt;Embed them on blogs and webpages or send them by email.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt; &lt;/p&gt;</description></item><item><title>Scripting SQL Objects with SQL 2008</title><link>https://bryanavery.co.uk/scripting-sql-objects-with-sql-2008/</link><pubDate>Sun, 04 Oct 2009 07:19:00 +0000</pubDate><guid>https://bryanavery.co.uk/scripting-sql-objects-with-sql-2008/</guid><description>&lt;p&gt;If you need to script out the objects within a database, from generating tables through to extracting out the data so you can use it in another database or schema then you are going to need to script the SQL.&lt;/p&gt;</description></item><item><title>One day in Kanban land</title><link>https://bryanavery.co.uk/one-day-in-kanban-land/</link><pubDate>Fri, 25 Sep 2009 09:38:00 +0000</pubDate><guid>https://bryanavery.co.uk/one-day-in-kanban-land/</guid><description>&lt;p&gt;Came across this today, and thought it was very good.&lt;/p&gt;&#10;&lt;p&gt;&lt;img alt="" decoding="async" src="https://bryanavery.co.uk/uploads/2009/9/Kanban1.JPG"/&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="http://blog.crisp.se/henrikkniberg/2009/06/26/1246053060000.html" target="_blank"&gt;Original post&lt;/a&gt;&lt;/p&gt;</description></item><item><title>xVal 1.0 released</title><link>https://bryanavery.co.uk/xval-1-0-released/</link><pubDate>Fri, 18 Sep 2009 14:31:00 +0000</pubDate><guid>https://bryanavery.co.uk/xval-1-0-released/</guid><description>&lt;p&gt;An important tool when using MVC xVal version 1.0 is released, xVal is a validation helper for ASP.NET MVC that lets you use your own choice of server-side validation framework (e.g., Microsoft’s DataAnnotations attributes, or Castle Validator, or NHibernate Validaion) and dynamically generates client-side validation code from your rules.&lt;/p&gt;</description></item><item><title>ModelState is not Valid</title><link>https://bryanavery.co.uk/modelstate-is-not-valid/</link><pubDate>Fri, 18 Sep 2009 14:18:00 +0000</pubDate><guid>https://bryanavery.co.uk/modelstate-is-not-valid/</guid><description>&lt;p&gt;When you are using MVC you will come across using the ModelState, and the most common use is ModelState.IsValid, if you’ve not used this before then check out &lt;a href="http://msdn.microsoft.com/en-us/library/dd410404/" target="_blank"&gt;Validating Model Data in an MVC Application&lt;/a&gt; or &lt;a href="http://blog.codeville.net/2009/01/10/xval-a-validation-framework-for-aspnet-mvc/" target="_blank"&gt;xVal – a validation framework for ASP.NET MVC&lt;/a&gt;, what I did come across is an exception beyound the normal checks, that a table was missing from the database.  Although the error was recorded in the ModelState, it did not raise any exception and hence the exception handling did not capture the message.  To record the Exception you’ll need to go over the collection and this code allows you to do this:&lt;/p&gt;</description></item><item><title>Windows 7 – things you don’t know</title><link>https://bryanavery.co.uk/windows-7-things-you-dont-know/</link><pubDate>Sat, 12 Sep 2009 06:47:00 +0000</pubDate><guid>https://bryanavery.co.uk/windows-7-things-you-dont-know/</guid><description>&lt;p&gt;I’ve been playing with Windows 7 for a little while now and I am impressed it lokks like Microsoft have got it right.  I’m a power user and if it works for me I can say it is going to work for Mr Average Joe.  I’d thought I draw up a number of special features that I have found in my travels around Windows 7.&lt;/p&gt;</description></item><item><title>LINQ to XML</title><link>https://bryanavery.co.uk/linq-to-xml/</link><pubDate>Wed, 02 Sep 2009 19:05:00 +0000</pubDate><guid>https://bryanavery.co.uk/linq-to-xml/</guid><description>&lt;p&gt;Need to know how to write easy to look after XML code, check out the the DNRTV&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="http://perseus.franklins.net/dnrtvplayer/player/?ShowNum=0147" target="_blank"&gt;http://perseus.franklins.net/dnrtvplayer/player/?ShowNum=0147&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;The source code can be download here &lt;a href="https://bryanavery.co.uk/file.axd?file=2009/9/LINQXMLSamples.zip"&gt;LINQXMLSamples.zip (112.26 kb)&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Generating SQL Insert Statement</title><link>https://bryanavery.co.uk/generating-sql-insert-statement/</link><pubDate>Sun, 30 Aug 2009 16:02:00 +0000</pubDate><guid>https://bryanavery.co.uk/generating-sql-insert-statement/</guid><description>&lt;p&gt;&lt;a href="http://www.ssmstoolspack.com/"&gt;http://www.ssmstoolspack.com/&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Inline Editing</title><link>https://bryanavery.co.uk/inline-editing/</link><pubDate>Thu, 20 Aug 2009 13:57:00 +0000</pubDate><guid>https://bryanavery.co.uk/inline-editing/</guid><description>&lt;p&gt;I needed a simple way of editing the text on the screen, without the need to open up or view a second screen, so I had a look around for some jQuery, and came across this very good jQuery plugin from &lt;a href="http://www.appelsiini.net/cv" target="_blank"&gt;Mika Tuupola&lt;/a&gt;, &lt;a href="http://www.appelsiini.net/projects/jeditable" target="_blank"&gt;jEditable&lt;/a&gt;&lt;/p&gt;</description></item><item><title>10 cool things you can do with a USB flash drive</title><link>https://bryanavery.co.uk/10-cool-things-you-can-do-with-a-usb-flash-drive/</link><pubDate>Wed, 12 Aug 2009 11:50:00 +0000</pubDate><guid>https://bryanavery.co.uk/10-cool-things-you-can-do-with-a-usb-flash-drive/</guid><description>&lt;p&gt;Came across this nice article on different uses for your USB flash drive&lt;/p&gt;&#10;&lt;p&gt;Transporting your data is probably the most common use for a USB flash drive. But there’s a world of other things you can do with these handy pocket-size drives. Here are 10 ways you can use that USB flash drive to do more than just move data&lt;/p&gt;</description></item><item><title>If Browsers were women</title><link>https://bryanavery.co.uk/if-browsers-were-women/</link><pubDate>Mon, 03 Aug 2009 20:31:00 +0000</pubDate><guid>https://bryanavery.co.uk/if-browsers-were-women/</guid><description>&lt;p&gt;&lt;img alt="" decoding="async" src="https://bryanavery.co.uk/uploads/2009/8/image001.jpg.scaled.1000.jpg"/&gt;&lt;/p&gt;</description></item><item><title>MVC 2 Preview 1</title><link>https://bryanavery.co.uk/mvc-2-preview-1/</link><pubDate>Fri, 31 Jul 2009 10:21:00 +0000</pubDate><guid>https://bryanavery.co.uk/mvc-2-preview-1/</guid><description>&lt;p&gt;The first of the next version of MVC 2 has been release by Microsoft, a few nice features, which has extended the Html helpers.&lt;/p&gt;&#10;&lt;p&gt;The full release will be shipped with Visual Studio 2010, and a version will be available for download for Visual Studio 2008 sp1 at the same time.&lt;/p&gt;</description></item><item><title>ASP.NET MVC Futures</title><link>https://bryanavery.co.uk/asp-net-mvc-futures/</link><pubDate>Fri, 17 Jul 2009 13:46:00 +0000</pubDate><guid>https://bryanavery.co.uk/asp-net-mvc-futures/</guid><description>&lt;p&gt;Where are those extra features that did not quite make it in the initial release of ASP.MVC 1.0, they can be found on Code Plex, &lt;a href="http://aspnet.codeplex.com/Release/ProjectReleases/?ReleaseId=24471" target="_blank"&gt;ASPNET&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt; &lt;/p&gt;&#10;&lt;h2&gt;ASP.NET MVC Futures – Microsoft.Web.Mvc&lt;/h2&gt;&#10;&lt;p&gt;The following are a few items in the ASP.NET MVC Futures assembly:&lt;/p&gt;</description></item><item><title>DDD South West Video</title><link>https://bryanavery.co.uk/ddd-south-west-video/</link><pubDate>Wed, 15 Jul 2009 08:37:00 +0000</pubDate><guid>https://bryanavery.co.uk/ddd-south-west-video/</guid><description>&lt;p&gt; &lt;/p&gt;&#10;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 10px; padding-right: 0px; padding-bottom: 5px; padding-left: 0px; "&gt;After a great DDD South West, now comes the video, great production, setting a high standard for years to come&lt;/p&gt;</description></item><item><title>Deploying MVC on IIS 6</title><link>https://bryanavery.co.uk/deploying-mvc-on-iis-6/</link><pubDate>Thu, 02 Jul 2009 12:06:00 +0000</pubDate><guid>https://bryanavery.co.uk/deploying-mvc-on-iis-6/</guid><description>&lt;p&gt;If and when you have to deploy your MVC application, you’ll soon find out that IIS6 does not support Url Rewriting.  There are a number of options available to you, for a good list check out Steve Sanderson’s &lt;a href="http://blog.codeville.net/2008/07/04/options-for-deploying-aspnet-mvc-to-iis-6/" target="_blank"&gt;Deploying ASP.NET MVC to IIS 6&lt;/a&gt;, the one I’m currently using is:&lt;/p&gt;</description></item><item><title>Culture Codes</title><link>https://bryanavery.co.uk/culture-codes/</link><pubDate>Fri, 19 Jun 2009 11:07:00 +0000</pubDate><guid>https://bryanavery.co.uk/culture-codes/</guid><description>&lt;p&gt;&lt;span style="font-size: 12px; line-height: 16px; border-collapse: collapse; color: #666666;"&gt;&lt;/span&gt;&lt;/p&gt;&#10;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 16px; margin-left: 0px; font-weight: normal; font-style: normal; font-size: 12px; line-height: 18px; font-family: inherit; text-align: left; padding: 0px; border: 0px initial initial;"&gt; &lt;/p&gt;&#10;&lt;p&gt;A comprehensive list of culture codes used for localising and in conjunction with the CultureInfo class.&lt;/p&gt;</description></item><item><title>Asp.net MVC, Html.DropDownList and Selected Value</title><link>https://bryanavery.co.uk/asp-net-mvc-html-dropdownlist-and-selected-value/</link><pubDate>Thu, 18 Jun 2009 14:04:00 +0000</pubDate><guid>https://bryanavery.co.uk/asp-net-mvc-html-dropdownlist-and-selected-value/</guid><description>&lt;p&gt;&lt;span style="font-size: 13px;"&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;I recently ran into the altogether common problem of the Html.DropDownList helper rendering a drop down list with no value selected. This is a major problem when editing data as by default, the first value is selected and saving would mean the first value is used.&lt;/p&gt;</description></item><item><title>Running NUnit from Visual Studio</title><link>https://bryanavery.co.uk/running-nunit-from-visual-studio/</link><pubDate>Mon, 15 Jun 2009 09:17:00 +0000</pubDate><guid>https://bryanavery.co.uk/running-nunit-from-visual-studio/</guid><description>&lt;p&gt;If you are like me, I like to keep my Visual Studio environment as clean as possible, so if I can get away from adding any addins in to Visual Studio I will always go for that option.&lt;/p&gt;</description></item><item><title>Building up an MVC application</title><link>https://bryanavery.co.uk/building-up-an-mvc-application/</link><pubDate>Wed, 10 Jun 2009 11:35:00 +0000</pubDate><guid>https://bryanavery.co.uk/building-up-an-mvc-application/</guid><description>&lt;p&gt;When you open up MVC out of the box, you get the basic configuration, after a little playing around you soon see areas that require enhancing to, not only make your application more flexable, but also easier to maintain.&lt;/p&gt;</description></item><item><title>MVC Validation</title><link>https://bryanavery.co.uk/mvc-validation/</link><pubDate>Wed, 10 Jun 2009 10:15:00 +0000</pubDate><guid>https://bryanavery.co.uk/mvc-validation/</guid><description>&lt;p&gt;Validation is such an important part of development, and the best way I have found for the MVC is by &lt;a href="http://blog.codeville.net/about/" target="_blank"&gt;Steven Sanderson&lt;/a&gt;, &lt;a href="http://xval.codeplex.com/" target="_blank"&gt;xVal&lt;/a&gt;, which is a validation framework for ASP MVC, even &lt;a href="http://weblogs.asp.net/scottgu/archive/2009/06/07/june-7th-links-asp-net-ajax-asp-net-mvc-visual-studio/" target="_blank"&gt;Scott Gu&lt;/a&gt; thinks it is absolutely fantastic.&lt;/p&gt;</description></item><item><title>Scrum the story</title><link>https://bryanavery.co.uk/scrum-the-story/</link><pubDate>Mon, 01 Jun 2009 14:10:00 +0000</pubDate><guid>https://bryanavery.co.uk/scrum-the-story/</guid><description>&lt;p&gt;&lt;img alt="" decoding="async" src="https://bryanavery.co.uk/uploads/2009/6/060911-scrumtoon.jpg"/&gt;&lt;/p&gt;</description></item><item><title>Speed and Performance of LINQ</title><link>https://bryanavery.co.uk/speed-and-performance-of-linq/</link><pubDate>Tue, 26 May 2009 15:10:00 +0000</pubDate><guid>https://bryanavery.co.uk/speed-and-performance-of-linq/</guid><description>&lt;p&gt;I was wondering today if anyone had produced any benchmarks on the speed and performance of LINQ, so I had a look around and found that LINQ 2 SQL is 4 times faster than the Entity Framework.  Why is this?  It is due the the fact that the Entity Framework is a more generic solution, where as LINQ to SQL can be more fine tuned to the underlying database structure.&lt;/p&gt;</description></item><item><title>Managing Sprints in a Scrum</title><link>https://bryanavery.co.uk/managing-sprints-in-a-scrum/</link><pubDate>Tue, 26 May 2009 11:12:00 +0000</pubDate><guid>https://bryanavery.co.uk/managing-sprints-in-a-scrum/</guid><description>&lt;p&gt;There are many ways of managing a Scrum Sprint, but I always look for the easy ways, I came across Deborah Hartmann, spreadsheet which I have found very useful and easy to get along with.  Once you understand the processes of Scrum and what is required the spreadsheet speak a thousand words.&lt;/p&gt;</description></item><item><title>Tools for Linq to SQL and ADO.NET Entity Framework</title><link>https://bryanavery.co.uk/tools-for-linq-to-sql-and-ado-net-entity-framework/</link><pubDate>Tue, 26 May 2009 09:06:00 +0000</pubDate><guid>https://bryanavery.co.uk/tools-for-linq-to-sql-and-ado-net-entity-framework/</guid><description>&lt;p&gt;I have found LINQ to SQL and the Entity Framework has a few missing features, one of these is the ability to update the designer diagrams, and this is where &lt;a href="http://huagati.com/dbmltools/" target="_blank"&gt;Huagati DBML&lt;/a&gt; come to play.&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="http://huagati.com/dbmltools/" target="_blank"&gt;Huagati DBML/EDMX&lt;/a&gt; Tools is an add-in for Visual Studio that adds functionality to the Linq2SQL/DBML diagram designer in Visual Studio 2008, and to the ADO.NET Entity Framework designer in Visual Studio 2008 SP1.&lt;/p&gt;</description></item><item><title>TwitterPing</title><link>https://bryanavery.co.uk/twitterping/</link><pubDate>Sun, 24 May 2009 12:14:00 +0000</pubDate><guid>https://bryanavery.co.uk/twitterping/</guid><description>&lt;p&gt;Updated my extensions on my blog this morning and included a Twitter updater by &lt;a href="http://www.migueljimenez.net/page/About-Me/" target="_blank"&gt;Miguel Jimenez&lt;/a&gt;, &lt;a href="http://www.migueljimenez.net/post/2008/07/02/TwitterPing-10-Twitter-Extension-for-BlogEngineNET/" target="_blank"&gt;TwitterPing&lt;/a&gt;.&lt;/p&gt;&#10;&lt;p&gt;Had a few issues with the Extension, but with a few tweeks, and removing the dll by placing the code behind, it means it only needs the .cs file, &lt;/p&gt;</description></item><item><title>DDD South West Presentations for Room 3</title><link>https://bryanavery.co.uk/ddd-south-west-presentations-for-room-3/</link><pubDate>Sun, 24 May 2009 07:31:00 +0000</pubDate><guid>https://bryanavery.co.uk/ddd-south-west-presentations-for-room-3/</guid><description>&lt;p&gt;Here is a list of Slides and Source code for &lt;a href="http://www.dddsouthwest.com/" target="_blank"&gt;DDD South West&lt;/a&gt; 2009 room 3&lt;/p&gt;&#10;&lt;p&gt;For full details on each of the talk check out the &lt;a href="http://www.dddsouthwest.com/Agenda/tabid/55/Default/" target="_blank"&gt;Agenda&lt;/a&gt; &lt;/p&gt;&#10;&lt;p&gt;These files are now on the &lt;a href="http://www.dddsouthwest.com/Agenda/tabid/55/Default/" target="_blank"&gt;DDD South West&lt;/a&gt; web site&lt;/p&gt;</description></item><item><title>Mocking</title><link>https://bryanavery.co.uk/mocking/</link><pubDate>Fri, 22 May 2009 14:33:00 +0000</pubDate><guid>https://bryanavery.co.uk/mocking/</guid><description>&lt;p&gt; &lt;/p&gt;&#10;&lt;p style="margin-top: 0.4em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; line-height: 1.5em;"&gt;In object-oriented programming, &lt;a class="external text" href="http://en.wikipedia.org/wiki/Mock_object" rel="nofollow" style="text-decoration: none; color: #3366bb; background-repeat: no-repeat; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: initial; padding-right: 13px; background-position: 100% 50%;" title="http://en.wikipedia.org/wiki/Mock_object"&gt;mock objects&lt;/a&gt;are simulated objects that mimic the behavior of real objects in controlled ways. A computer programmer typically creates a mock object to test the behavior of some other object, in much the same way that a car designer uses a crash test dummy to simulate the dynamic behavior of a human in vehicle impacts.&lt;/p&gt;</description></item><item><title>RPS – Calculation Model</title><link>https://bryanavery.co.uk/rps-calculation-model/</link><pubDate>Fri, 22 May 2009 09:47:00 +0000</pubDate><guid>https://bryanavery.co.uk/rps-calculation-model/</guid><description>&lt;p&gt;&lt;span style="font-family: -webkit-sans-serif; font-size: 13px; line-height: 19px;"&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;h2 style="color: black; background-image: none; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: initial; font-weight: normal; margin-top: 0px; margin-right: 0px; margin-bottom: 0.6em; margin-left: 0px; padding-top: 0.5em; padding-bottom: 0.17em; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #aaaaaa; font-size: 19px; background-position: initial initial;"&gt;&lt;span class="mw-headline"&gt;Calculation Model&lt;/span&gt;&lt;/h2&gt;&#10;&lt;p style="margin-top: 0.4em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; line-height: 1.5em;"&gt;There are a number of calculations and data transformations that need to take place in order to produce the correct Leakage Calculation.&lt;/p&gt;</description></item><item><title>MVC tool case</title><link>https://bryanavery.co.uk/mvc-tool-case/</link><pubDate>Fri, 22 May 2009 09:04:00 +0000</pubDate><guid>https://bryanavery.co.uk/mvc-tool-case/</guid><description>&lt;p&gt;&lt;a href="http://samples.syncfusion.com/mvcdemolaunchpad"&gt;http://samples.syncfusion.com/mvcdemolaunchpad&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Continuous Integration</title><link>https://bryanavery.co.uk/continuous-integration/</link><pubDate>Wed, 20 May 2009 11:17:00 +0000</pubDate><guid>https://bryanavery.co.uk/continuous-integration/</guid><description>&lt;p&gt;Task today is to decide and implement an Continuous Integration build process, I will be looking at two options &lt;a href="http://en.wikipedia.org/wiki/CruiseControl.NET" target="_blank"&gt;CruseControl&lt;/a&gt; and &lt;a href="http://en.wikipedia.org/wiki/TeamCity" target="_blank"&gt;Team City&lt;/a&gt;.  The are a lot more but for the purpose of the current .NET environment these are the two I’ll be looking at.&lt;/p&gt;</description></item><item><title>Threading</title><link>https://bryanavery.co.uk/threading/</link><pubDate>Wed, 20 May 2009 09:08:00 +0000</pubDate><guid>https://bryanavery.co.uk/threading/</guid><description>&lt;p&gt;http://www.jobserve.com/EC1545A81AE3DF391Z9AED430336436C.jsap&lt;/p&gt;</description></item><item><title>How to sort a generic List</title><link>https://bryanavery.co.uk/how-to-sort-a-generic-list/</link><pubDate>Tue, 19 May 2009 09:34:00 +0000</pubDate><guid>https://bryanavery.co.uk/how-to-sort-a-generic-list/</guid><description>&lt;p&gt;I came across a little issue today, in that I had an Interface object and I needed to be able to sort the list, I would normally implement the IComparable interface on the concreate type, but I don’t have access to the concreate type in my case.&lt;/p&gt;</description></item><item><title>Well all love a good Hack</title><link>https://bryanavery.co.uk/well-all-love-a-good-hack/</link><pubDate>Mon, 18 May 2009 09:53:00 +0000</pubDate><guid>https://bryanavery.co.uk/well-all-love-a-good-hack/</guid><description>&lt;p&gt;Been playing around with this hack for some time, it’s fun, I can’t remember where I first got the application from, but I’ve had some harmless fun with it in the office.&lt;/p&gt;&#10;&lt;p&gt;This small hack allows you to write information to most HP printers LCD screen.&lt;/p&gt;</description></item><item><title>Copy one object to another Object</title><link>https://bryanavery.co.uk/copy-one-object-to-another-object/</link><pubDate>Fri, 15 May 2009 13:43:00 +0000</pubDate><guid>https://bryanavery.co.uk/copy-one-object-to-another-object/</guid><description>&lt;p&gt;I was in need to copying one concreate object to another concreate object, but I needed the flexability that when a new property is added the method would not need to be changed, also I needed the ability for the method to take in any types.&lt;/p&gt;</description></item><item><title>PDB, what and why?</title><link>https://bryanavery.co.uk/pdb-what-and-why/</link><pubDate>Thu, 14 May 2009 13:17:00 +0000</pubDate><guid>https://bryanavery.co.uk/pdb-what-and-why/</guid><description>&lt;p&gt;If you are like me when you are developing you create a Debug version of your application and in turn .NET provides you with .PDB files for debugging, that is as far as I know, want to know more about it then take a look at John Robbins’ Blog on &lt;a href="http://www.wintellect.com/CS/blogs/jrobbins/archive/2009/05/11/pdb-files-what-every-developer-must-know/" target="_blank"&gt;PDB files: what every developer must know&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Returning all data from a DataSet Row</title><link>https://bryanavery.co.uk/returning-all-data-from-a-dataset-row/</link><pubDate>Thu, 14 May 2009 12:17:00 +0000</pubDate><guid>https://bryanavery.co.uk/returning-all-data-from-a-dataset-row/</guid><description>&lt;p&gt;&lt;span style="font-family: Consolas; font-size: 12px; line-height: 13px; white-space: pre-wrap;"&gt;If you are like me and you are using DataSets and you need to transfer a table rows collection in to a predefined interface then here is your answer &lt;/span&gt;&lt;/p&gt;</description></item><item><title>Only get the data that is needs to be displayed</title><link>https://bryanavery.co.uk/only-get-the-data-that-is-needs-to-be-displayed/</link><pubDate>Tue, 12 May 2009 09:58:00 +0000</pubDate><guid>https://bryanavery.co.uk/only-get-the-data-that-is-needs-to-be-displayed/</guid><description>&lt;p&gt;I have been on the look out for the ability to display and search a customers database, but having the ability to display millions of records if that what the end users wants.  But the trouble is that it can take a long time to return a million records from a data source.&lt;/p&gt;</description></item><item><title>Hidden but found on the iPhone</title><link>https://bryanavery.co.uk/hidden-but-found-on-the-iphone/</link><pubDate>Mon, 11 May 2009 10:32:00 +0000</pubDate><guid>https://bryanavery.co.uk/hidden-but-found-on-the-iphone/</guid><description>&lt;p&gt;I’ve had an iPhone for a year and a half now, and I’m still finding things it can do, here are a few things that I have found:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Pressing the Home button twice quickly takes you to your favorites (this can be configured in the setting)&lt;/li&gt;&#10;&lt;li&gt;Press Home button while pressing the on/off button causes a Print Screen&lt;/li&gt;&#10;&lt;li&gt;If you continue to home the Home and on/off button it will perform a reboot of your iPhone&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;div&gt;Have you found any more features that I have missed?&lt;/div&gt;&#10;&lt;p&gt; &lt;/p&gt;</description></item><item><title>How to get an EULA displayed for your clickonce application</title><link>https://bryanavery.co.uk/how-to-get-an-eula-displayed-for-your-clickonce-application/</link><pubDate>Thu, 07 May 2009 13:17:00 +0000</pubDate><guid>https://bryanavery.co.uk/how-to-get-an-eula-displayed-for-your-clickonce-application/</guid><description>&lt;p&gt;Stuck with this issue, if needing a ClickOnce installation to display an EULA, I final found a solution, on &lt;a href="http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/301d7b68-914b-4a05-8f2b-d9aa53f69cca" target="_blank"&gt;MSDN&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;Here’s a round about way to get your clickonce applications to install with an End user license agreement. Basically you build a redistributable component that can be seen in your prerequsites dialog box under the publish window. This allows a nice way to have all your apps reuse the same agreement, if you want. It’s very easy, you need only to create three files (“eula.txt”, “product.xml”, and “package.xml”) and two folders in this case (“EULApackage”, and “en”). I documented everything below on how I set mine up. it works great. the only thing you’ll have to change is the Name of the component and of course you’ll need your own end user licence agreement saved as eula.txt. The component needs to be put in the following path:&lt;/p&gt;</description></item><item><title>Integration Test using the MembershipProvider</title><link>https://bryanavery.co.uk/integration-test-using-the-membershipprovider/</link><pubDate>Thu, 07 May 2009 09:24:00 +0000</pubDate><guid>https://bryanavery.co.uk/integration-test-using-the-membershipprovider/</guid><description>&lt;p&gt;Creating tests is a very important part of the development cycle, one of the import part of creating tests is to make sure the tests have as little dependencies as possible, this is where Intergration testing&lt;span style="font-family: Arial; color: #666666; font-size: small;"&gt;&lt;span style="font-size: 13px; white-space: pre;"&gt; &lt;/span&gt;&lt;/span&gt;comes in to play.&lt;/p&gt;</description></item><item><title>Videos for MVC</title><link>https://bryanavery.co.uk/videos-for-mvc/</link><pubDate>Mon, 04 May 2009 13:42:00 +0000</pubDate><guid>https://bryanavery.co.uk/videos-for-mvc/</guid><description>&lt;p&gt;Need a quick over view of how MVC can help you, take a look at these series of videos by &lt;a href="http://www.myvbprof.com/2007_Version/AboutUs/" target="_blank"&gt;Bill Burrows&lt;/a&gt;, all very simple and easy to follow videos, and what’s more he is running the demos in VB.NET&lt;/p&gt;</description></item><item><title>Yeald</title><link>https://bryanavery.co.uk/yeald/</link><pubDate>Sun, 03 May 2009 17:41:00 +0000</pubDate><guid>https://bryanavery.co.uk/yeald/</guid><description>&lt;p&gt;Okay, I’ve learn’t something new today, so I’d thought I would share it with you, it’s the &lt;span style="font-weight: bold;"&gt;yeald&lt;/span&gt; keyword, the reason why I think I have not used or know about it before is that it is used for an IEnumerable collection, which has come more in to play with LINQ, here is a short example of how it can be used:&lt;/p&gt;</description></item><item><title>MVC LifeCycle</title><link>https://bryanavery.co.uk/mvc-lifecycle/</link><pubDate>Sun, 03 May 2009 07:59:00 +0000</pubDate><guid>https://bryanavery.co.uk/mvc-lifecycle/</guid><description>&lt;p&gt;To understand the the power of MVC you need to understand the Life Cycle, I could go in to great detail about the ASP.NET Lifecycle, but I have found a number of very good articles already providing good amount of information on the LifeCycle.  Before going to the pages here is a simple flow diagram of the steps the MVC process goes through&lt;/p&gt;</description></item><item><title>Configuration for NLog</title><link>https://bryanavery.co.uk/configuration-for-nlog/</link><pubDate>Fri, 24 Apr 2009 09:24:00 +0000</pubDate><guid>https://bryanavery.co.uk/configuration-for-nlog/</guid><description>&lt;p&gt;When I am writing an application it is so important to make sure you record and log information correctly, there are a number of free loggers you can use&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="http://logging.apache.org/log4net/" target="_blank"&gt;Log4Net&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="http://www.nlog-project.org/" target="_blank"&gt;NLog&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;I have come to use &lt;a href="http://nlog-project.org/" target="_blank"&gt;NLog&lt;/a&gt;, by Jaroslaw Kowalski, it’s so easy to use and get up and running, which is what you really need if you are using a logger of any type.&lt;/p&gt;</description></item><item><title>Finding if any records exist in a table</title><link>https://bryanavery.co.uk/finding-if-any-records-exist-in-a-table/</link><pubDate>Fri, 17 Apr 2009 09:55:00 +0000</pubDate><guid>https://bryanavery.co.uk/finding-if-any-records-exist-in-a-table/</guid><description>&lt;p&gt;When you need to find if any records exist in a table or a selective snap shot of a table, you are prehaps like me in using the COUNT(*) SQL transaction and see if there are zero counts, but is this the most &lt;span class="goog-spellcheck-word"&gt;efficient method?&lt;/span&gt;&lt;/p&gt;</description></item><item><title>TFS, SoureSafe or Subversion</title><link>https://bryanavery.co.uk/tfs-souresafe-or-subversion/</link><pubDate>Wed, 15 Apr 2009 16:27:00 +0000</pubDate><guid>https://bryanavery.co.uk/tfs-souresafe-or-subversion/</guid><description>&lt;p&gt;Quite often when I start at a new client they ask me what are the benefits of TFS (Team Foundation Server), as they can not justify the cost, as it is very confusing (like may of Microsoft pricing structures)&lt;/p&gt;</description></item><item><title>CMS Options</title><link>https://bryanavery.co.uk/cms-options/</link><pubDate>Fri, 03 Apr 2009 06:43:00 +0000</pubDate><guid>https://bryanavery.co.uk/cms-options/</guid><description>&lt;p&gt;&lt;a href="http://www.hellomorello.com/"&gt;http://www.hellomorello.com/&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;Umbraco&lt;/p&gt;&#10;&lt;p&gt;BlogEngine.NET&lt;/p&gt;&#10;&lt;p&gt; &lt;/p&gt;</description></item><item><title>Method for retrieving movie posters</title><link>https://bryanavery.co.uk/method-for-retrieving-movie-posters/</link><pubDate>Mon, 30 Mar 2009 12:21:00 +0000</pubDate><guid>https://bryanavery.co.uk/method-for-retrieving-movie-posters/</guid><description>&lt;p&gt;&lt;span style="font-family: arial; font-size: 13px; border-collapse: collapse;"&gt;&lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;A couple of weeks ago I released an online TV guide for Danish viewers called &lt;a href="http://ifjernsyn.dk/" style="color: #2244bb;" target="_blank"&gt;ifjernsyn.dk&lt;/a&gt;. The goal was to make a very simple overview that could easily be accessed from a mobile phone and customized by any visitor without any login. The purpose was to always know what’s on the air right now and what programs will shortly follow – and of course to keep it simple.&lt;/p&gt;</description></item><item><title>Backup Strategy</title><link>https://bryanavery.co.uk/backup-strategy/</link><pubDate>Sat, 28 Mar 2009 07:51:00 +0000</pubDate><guid>https://bryanavery.co.uk/backup-strategy/</guid><description>&lt;p&gt;How may time does it take to lose import files or photos held on your computer before you put in place a backup strategy to protect your files.&lt;/p&gt;&#10;&lt;p&gt;I thought I’d share my personal backup strategy, as I don’t just reply on one process, in fact I have three sync/backup methods&lt;/p&gt;</description></item><item><title>Playing with DataGrids in jQuery</title><link>https://bryanavery.co.uk/playing-with-datagrids-in-jquery/</link><pubDate>Sat, 28 Mar 2009 05:38:00 +0000</pubDate><guid>https://bryanavery.co.uk/playing-with-datagrids-in-jquery/</guid><description>&lt;p&gt;I’ve been looking around for some Data Grid’s and as I love jQuery throught I’d share some Grid written in jQuery, well only one at present, froma Russian developer&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="http://trirand.com/jqgrid/jqgrid.html" target="_blank"&gt;http://trirand.com/jqgrid/jqgrid.html&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Images and Icons</title><link>https://bryanavery.co.uk/images-and-icons/</link><pubDate>Fri, 27 Mar 2009 11:10:00 +0000</pubDate><guid>https://bryanavery.co.uk/images-and-icons/</guid><description>&lt;p&gt;So many places have so many different ideas on what and how things should look, as a developer it is just a cause of accepting what they supply.  But from time to time, more often then not, the customer asks to see what you have produced, and even though you may have spent hours or even days getting the code to work correctly, the plain and simple fact is that it look and feels really bad.&lt;/p&gt;</description></item><item><title>SubSonic Autogenerate Database scripts</title><link>https://bryanavery.co.uk/subsonic-autogenerate-database-scripts/</link><pubDate>Thu, 26 Mar 2009 19:18:00 +0000</pubDate><guid>https://bryanavery.co.uk/subsonic-autogenerate-database-scripts/</guid><description>&lt;p&gt;First of you are going to need to download and install &lt;a href="http://subsonicproject.com/" target="_blank"&gt;SubSonic&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;Once installed just follow the steps below&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="http://subsonicproject.com/"&gt;&lt;/a&gt;Within Visual Studio&lt;/p&gt;&#10;&lt;p&gt;&lt;img alt="" decoding="async" src="https://bryanavery.co.uk/uploads/2009/3/subsonicgettingstarted.png" style="border: 0px initial initial;"/&gt;&lt;/p&gt;&#10;&lt;p&gt;External tools&lt;/p&gt;&#10;&lt;p&gt;Title “SubSonic DAL”&lt;/p&gt;&#10;&lt;p&gt;command   sonic.exe&lt;/p&gt;&#10;&lt;p&gt;arguments  generate /out App_Code\Generated&lt;/p&gt;</description></item><item><title>Clouding Computing at Mix09</title><link>https://bryanavery.co.uk/clouding-computing-at-mix09/</link><pubDate>Mon, 23 Mar 2009 08:41:00 +0000</pubDate><guid>https://bryanavery.co.uk/clouding-computing-at-mix09/</guid><description>&lt;p&gt;If you are like me and you missed your chance to attend Mix09, then all is not lost as you can view the Azure sessions &lt;/p&gt;&#10;&lt;p&gt;Here’s the list of Azure sessions:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="http://videos.visitmix.com/MIX09/T81M" target="_blank"&gt;Using the Windows Azure Tools for Microsoft Visual Studio to Build Cloud Services&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="http://videos.visitmix.com/MIX09/T38F" target="_blank"&gt;Introduction to the Azure Services Platform&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="http://videos.visitmix.com/MIX09/T07F" target="_blank"&gt;Overview of Windows Azure&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="http://videos.visitmix.com/MIX09/T09F" target="_blank"&gt;Building Web Applications with Windows Azure&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="http://videos.visitmix.com/MIX09/T08F" target="_blank"&gt;Windows Azure Storage&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt; &lt;/p&gt;</description></item><item><title>Updated Windows Azure SDKs</title><link>https://bryanavery.co.uk/updated-windows-azure-sdks/</link><pubDate>Thu, 19 Mar 2009 06:47:00 +0000</pubDate><guid>https://bryanavery.co.uk/updated-windows-azure-sdks/</guid><description>&lt;p&gt;Updates to the Azure platform, must spend some time on this soon&lt;/p&gt;&#10;&lt;p&gt;&lt;span style="border-collapse: collapse; font-family: arial; font-size: 13px;"&gt;Greetings from the Azure Services Platform Team,&lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;We are excited to announce that we have released an update to the Windows® Azure™ SDK and Windows Azure Tools for Microsoft Visual Studio®. These latest releases are available here:&lt;/p&gt;</description></item><item><title>Free ASP.NET MVC eBook – NerdDinner.com Walkthrough</title><link>https://bryanavery.co.uk/free-asp-net-mvc-ebook-nerddinner-com-walkthrough/</link><pubDate>Wed, 18 Mar 2009 14:21:00 +0000</pubDate><guid>https://bryanavery.co.uk/free-asp-net-mvc-ebook-nerddinner-com-walkthrough/</guid><description>&lt;p&gt;Now that MVC has been released, it’s worth getting hold of a &lt;a href="http://weblogs.asp.net/scottgu/archive/2009/03/10/free-asp-net-mvc-ebook-tutorial/" target="_blank"&gt;free MVC book&lt;/a&gt;, which should help you get going on using MVC.&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="https://bryanavery.co.uk/file.axd?file=2009/3/aspnetmvc-nerdinner_v1.pdf"&gt;aspnetmvc-nerdinner_v1.pdf (13.78 mb)&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="http://nerddinner.codeplex.com/" target="_blank"&gt;http://nerddinner.codeplex.com/&lt;/a&gt;&lt;/p&gt;</description></item><item><title>MVC has been released</title><link>https://bryanavery.co.uk/mvc-has-been-released/</link><pubDate>Wed, 18 Mar 2009 14:12:00 +0000</pubDate><guid>https://bryanavery.co.uk/mvc-has-been-released/</guid><description>&lt;p&gt;Finally Microsoft have released &lt;a href="http://www.microsoft.com/downloads/details/?FamilyID=53289097-73ce-43bf-b6a6-35e00103cb4b&amp;amp;displaylang=en" target="_blank"&gt;MVC…&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt; &lt;/p&gt;&#10;&lt;p&gt;ASP.NET MVC 1.0 provides a new Model-View-Controller (MVC) framework on top of the existing ASP.NET 3.5 runtime. This means that developers can take advantage of the MVC design patterns to create their Web Applications which includes the ability to achieve and maintain a clear separation of concerns (the UI or view from the business and application logic and backend data), as well as facilitate test driven development (TDD). The ASP.NET MVC framework defines a specific pattern to the Web Application folder structure and provides a controller base-class to handle and process requests for “actions”. Developers can take advantage of the specific Visual Studio 2008 MVC templates within this release to create their Web applications, which includes the ability to select a specific Unit Test structure to accompany their Web Application development.&lt;/p&gt;</description></item><item><title>Speed and Performance LINQ to SQL or LINQ to Entities</title><link>https://bryanavery.co.uk/speed-and-performance-linq-to-sql-or-linq-to-entities/</link><pubDate>Tue, 17 Mar 2009 11:56:00 +0000</pubDate><guid>https://bryanavery.co.uk/speed-and-performance-linq-to-sql-or-linq-to-entities/</guid><description>&lt;p&gt;What with the release of LINQ to Entities, and LINQ to SQL, which one performs better?&lt;/p&gt;&#10;&lt;p&gt;For comparison of performance it is worth chekcing out &lt;a href="http://geekswithblogs.net/iupdateable/archive/2009/03/17/linq-to-sql-and-linq-to-entities-entity-framework-performance/" target="_blank"&gt;Eric’s blog&lt;/a&gt;, but I still perfer LINQ to SQL.&lt;/p&gt;&#10;&lt;p&gt;&lt;p&gt;Not that I would use the Entity Framework yet, see my &lt;a href="https://bryanavery.co.uk/post/2009/02/04/Entity-Framework-Issues/" target="_blank"&gt;article&lt;/a&gt; on this&lt;/p&gt;&#10;&lt;/p&gt;</description></item><item><title>Multi Threading in .NET</title><link>https://bryanavery.co.uk/multi-threading-in-net/</link><pubDate>Mon, 16 Mar 2009 10:28:00 +0000</pubDate><guid>https://bryanavery.co.uk/multi-threading-in-net/</guid><description>&lt;p&gt;&lt;a href="http://www.albahari.com/threading/" target="_blank"&gt;Threading in C# by Joseph Albahari&lt;/a&gt;&lt;/p&gt;</description></item><item><title>London</title><link>https://bryanavery.co.uk/london/</link><pubDate>Mon, 16 Mar 2009 09:13:00 +0000</pubDate><guid>https://bryanavery.co.uk/london/</guid><description>&lt;p&gt; &lt;/p&gt;&#10;&lt;p&gt;Arrive on Friday night, preferably at &lt;a href="http://www.londoncityairport.com/" style="color: #2244bb;" target="_blank"&gt;city airport&lt;/a&gt; and head east to &lt;a href="http://en.wikipedia.org/wiki/Brick_Lane" style="color: #2244bb;" target="_blank"&gt;Brick lane&lt;/a&gt; for a curry. After dinner have drinks at the &lt;a href="http://www.vibe-bar.co.uk/" style="color: #2244bb;" target="_blank"&gt;Vibe bar&lt;/a&gt; or &lt;a href="http://www.93feeteast.co.uk/" style="color: #2244bb;" target="_blank"&gt;93 feet east&lt;/a&gt;. If you are feeling super energetic see what is going on at &lt;a href="http://www.sosho3am.com/" style="color: #2244bb;" target="_blank"&gt;Sosho&lt;/a&gt;, Cargo or &lt;a href="http://www.electricityshowrooms.co.uk/index.asp" style="color: #2244bb;" target="_blank"&gt;Electricity showrooms&lt;/a&gt; before getting a good night of sleep.&lt;/p&gt;</description></item><item><title>Umbraco</title><link>https://bryanavery.co.uk/umbraco/</link><pubDate>Mon, 16 Mar 2009 08:40:00 +0000</pubDate><guid>https://bryanavery.co.uk/umbraco/</guid><description>&lt;p&gt;&lt;a href="http://www.squidoo.com/umbraco" target="_blank"&gt;umbraco – open-source .Net CMS&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="http://en.wikibooks.org/wiki/Umbraco" target="_blank"&gt;WikiBook&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="http://skiltzonnet.blogspot.com/2008/02/integrating-yetanotherforumnet-into.html" target="_blank"&gt;Forum for Umbraco&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt; &lt;/p&gt;</description></item><item><title>Creating a Simple WCF application</title><link>https://bryanavery.co.uk/creating-a-simple-wcf-application/</link><pubDate>Wed, 11 Mar 2009 16:04:00 +0000</pubDate><guid>https://bryanavery.co.uk/creating-a-simple-wcf-application/</guid><description>&lt;p&gt;After looking around and playing with WCF for a while, it had come to my notice that all the examples that I could find were over complex, then I came across Ralf’s Sudelbücher blog entry for “&lt;a href="http://weblogs.asp.net/ralfw/archive/2007/04/14/a-truely-simple-example-to-get-started-with-wcf/" target="_blank"&gt;A truely simple example to get started with WCF&lt;/a&gt;“, so simple, so to help you along here is the C# source code that I have written, with a few additions in that the solution also has a client console that calls the WCF application to show a true sence of what is happening.&lt;/p&gt;</description></item><item><title>BBC Mobile greatly improved</title><link>https://bryanavery.co.uk/bbc-mobile-greatly-improved/</link><pubDate>Wed, 11 Mar 2009 15:14:00 +0000</pubDate><guid>https://bryanavery.co.uk/bbc-mobile-greatly-improved/</guid><description>&lt;p&gt;The BBC have updated the mobile access for the website, it is a much improved access point, and works very well on my iPhone&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="http://www.bbc.co.uk/mobile/betahome" target="_blank"&gt;http://www.bbc.co.uk/mobile/betahome&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Avatar – Which one are you?</title><link>https://bryanavery.co.uk/avatar-which-one-are-you/</link><pubDate>Tue, 10 Mar 2009 19:37:00 +0000</pubDate><guid>https://bryanavery.co.uk/avatar-which-one-are-you/</guid><description>&lt;p&gt;I like this ad, it says so much about our world today&lt;/p&gt;&#10;&lt;p&gt; &lt;/p&gt;&#10;&lt;p&gt;&#10;&lt;object height="344" width="425"&gt;&lt;param name="movie" value="http://www.youtube.com/v/zTXAFPlEdXo&amp;amp;color1=0xb1b1b1&amp;amp;color2=0xcfcfcf&amp;amp;hl=en&amp;amp;feature=player_embedded&amp;amp;fs=1"/&gt;&lt;param name="allowFullScreen" value="true"/&gt;&lt;embed allowfullscreen="true" height="344" src="https://www.youtube.com/v/zTXAFPlEdXo&amp;amp;color1=0xb1b1b1&amp;amp;color2=0xcfcfcf&amp;amp;hl=en&amp;amp;feature=player_embedded&amp;amp;fs=1" type="application/x-shockwave-flash" width="425"/&gt;&lt;/object&gt;&lt;/p&gt;</description></item><item><title>SQL 2008 Activity Monitor</title><link>https://bryanavery.co.uk/sql-2008-activity-monitor/</link><pubDate>Tue, 10 Mar 2009 10:33:00 +0000</pubDate><guid>https://bryanavery.co.uk/sql-2008-activity-monitor/</guid><description>&lt;p&gt;Okay, where has the Activity Monitor gone in Microsoft SQL Server Management Studio 2008?&lt;/p&gt;&#10;&lt;p&gt;&#10;&lt;ol&gt;&#10;&lt;li&gt;Open Microsoft SQL Server Management Studio.  &lt;/li&gt;&#10;&lt;li&gt;In Object Explorer, right click on the server and select Activity Monitor.  Please note that the Activity Monitor is not available in the context menu unless you select the server.  You cannot launch the Activity Monitor when you select a database, another folder, etc. &lt;/li&gt;&#10;&lt;/ol&gt;&#10;&lt;div&gt;Why did Microsoft move this, I don’t know&lt;/div&gt;&lt;/p&gt;</description></item><item><title>Visual Basic auto compiler</title><link>https://bryanavery.co.uk/visual-basic-auto-compiler/</link><pubDate>Tue, 10 Mar 2009 10:12:00 +0000</pubDate><guid>https://bryanavery.co.uk/visual-basic-auto-compiler/</guid><description>&lt;p&gt;Working hard with VB.Net, hard work, as I find C# much cleaner, but VB.NET does have the advantage of be able to edit code while debugging.  And it compiles while you are working, but I have found that with 64 projects in my solution that the automatic compiler sometimes, quite a lot of the times hogs the machines resources, it would be nice to be able to turn the auto compiler off.&lt;/p&gt;</description></item><item><title>Viewing the SQL that is generated from LINQ to SQL</title><link>https://bryanavery.co.uk/viewing-the-sql-that-is-generated-from-linq-to-sql/</link><pubDate>Fri, 06 Mar 2009 11:17:00 +0000</pubDate><guid>https://bryanavery.co.uk/viewing-the-sql-that-is-generated-from-linq-to-sql/</guid><description>&lt;p&gt;There comes a time when you are using LINQ to SQL that you just have to find out what SQL is being generated, for what ever reason that is, here a a few ways to get the SQL you are looking for:&lt;/p&gt;</description></item><item><title>Windows Service</title><link>https://bryanavery.co.uk/windows-service/</link><pubDate>Tue, 03 Mar 2009 13:58:00 +0000</pubDate><guid>https://bryanavery.co.uk/windows-service/</guid><description>&lt;p&gt;I need to generate a Windows Service application, I’ve done this before, but could I remember how to do it.  In my searching I found this code sample very useful &lt;a href="http://www.codeproject.com/KB/system/WindowsService/" rel="noopener" target="_blank"&gt;Creating a Basic Windows Service in C#&lt;/a&gt; on &lt;a href="http://www.codeproject.com/" rel="noopener" target="_blank"&gt;The Code Project&lt;/a&gt;&lt;/p&gt;</description></item><item><title>DDD South West Registration Is Open!</title><link>https://bryanavery.co.uk/ddd-south-west-registration-is-open/</link><pubDate>Tue, 03 Mar 2009 11:09:00 +0000</pubDate><guid>https://bryanavery.co.uk/ddd-south-west-registration-is-open/</guid><description>&lt;p&gt;&lt;span style="border-collapse: collapse; font-family: arial; font-size: 13px;"&gt;&lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;Go! Quickly! Stop reading this and register now! Registration for &lt;a href="http://www.dddsouthwest.com/" style="color: #2244bb;" target="_blank"&gt;DDD South West&lt;/a&gt; is now open. Be able to tell your grandchildren that you were there at the very beginning. Remember, there can be only one first time.&lt;/p&gt;</description></item><item><title>Bye Bye SQL Enterprise Manager</title><link>https://bryanavery.co.uk/bye-bye-sql-enterprise-manager/</link><pubDate>Fri, 27 Feb 2009 12:41:00 +0000</pubDate><guid>https://bryanavery.co.uk/bye-bye-sql-enterprise-manager/</guid><description>&lt;p&gt;Just found a great LINQ tool for quering any database &lt;a href="http://www.linqpad.net/" target="_blank"&gt;LINQPad&lt;/a&gt;, is so useful I almost fell off my chair when I found it.&lt;/p&gt;&#10;&lt;p&gt;If you’re using LINQ then this is a must on a list of tool you need to have.&lt;/p&gt;</description></item><item><title>Testing your Website with different browsers</title><link>https://bryanavery.co.uk/testing-your-website-with-different-browsers/</link><pubDate>Wed, 25 Feb 2009 15:33:00 +0000</pubDate><guid>https://bryanavery.co.uk/testing-your-website-with-different-browsers/</guid><description>&lt;p&gt;If you are like me, when you have generated your website you’ll need to make sure it works in all the Web Browsers.&lt;/p&gt;&#10;&lt;p&gt;My normal approach would be to fire up all my different Virtual Machines, each with a virgin copy of each web browser.  This process works fine and it is a very good way of making sure all your site works in different browsers.&lt;/p&gt;</description></item><item><title>How to determine is a Plugin implements an interface</title><link>https://bryanavery.co.uk/how-to-determine-is-a-plugin-implements-an-interface/</link><pubDate>Fri, 13 Feb 2009 12:41:00 +0000</pubDate><guid>https://bryanavery.co.uk/how-to-determine-is-a-plugin-implements-an-interface/</guid><description>&lt;p&gt;The problem is you have a number of PlugIns in your application, however how do you know which plugins have implemented an interface for a task you need to perform?&lt;/p&gt;&#10;&lt;p&gt;Following on from my last article, &lt;a href="https://bryanavery.co.uk/post/2009/02/13/Plugin-Model/"&gt;Plugin Model&lt;/a&gt;, I will create a new interface, implement that interface and then find the Plugin that implments that interface.&lt;/p&gt;</description></item><item><title>Plugin Model</title><link>https://bryanavery.co.uk/plugin-model/</link><pubDate>Fri, 13 Feb 2009 12:01:00 +0000</pubDate><guid>https://bryanavery.co.uk/plugin-model/</guid><description>&lt;p&gt;I’ve been working with a Plugin model for a few weeks now and I thought it was time I should document the model.&lt;/p&gt;&#10;&lt;p&gt;Task is to build an application that you can plugin models via the .config file, and provide a level of configuration for each plugin via the .config file.&lt;/p&gt;</description></item><item><title>Collection of Tools</title><link>https://bryanavery.co.uk/collection-of-tools/</link><pubDate>Thu, 12 Feb 2009 09:40:00 +0000</pubDate><guid>https://bryanavery.co.uk/collection-of-tools/</guid><description>&lt;p&gt;Here is a list of best kept secrets that developers keep under their hats for looking in to what your Windows system is doing:&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="http://www.codeplex.com/svchostviewer" target="_blank"&gt;svchost Viewer&lt;/a&gt; – A program to see what all those svchost.exe are running.&lt;/p&gt;</description></item><item><title>iPhone and Google</title><link>https://bryanavery.co.uk/iphone-and-google/</link><pubDate>Tue, 10 Feb 2009 09:58:00 +0000</pubDate><guid>https://bryanavery.co.uk/iphone-and-google/</guid><description>&lt;p&gt;Finally found a link to enable you to be able to use Google fully on your iPhone&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="http://www.google.com/support/mobile/bin/topic.py?topic=13587"&gt;http://www.google.com/support/mobile/bin/topic.py?topic=13587&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Picasa photos in your BlogEngine site</title><link>https://bryanavery.co.uk/picasa-photos-in-your-blogengine-site/</link><pubDate>Sun, 08 Feb 2009 19:10:00 +0000</pubDate><guid>https://bryanavery.co.uk/picasa-photos-in-your-blogengine-site/</guid><description>&lt;p&gt;I’ve been having a play with Picasa API, and come up with this Extension for BlogEngine.&lt;/p&gt;&#10;&lt;p&gt;All you have to do is pake the picture.cs file and place it in “\App_Code\Extensions” folder, and it takes care of everything for you.&lt;/p&gt;</description></item><item><title>Caching from a non Web applications</title><link>https://bryanavery.co.uk/caching-from-a-non-web-applications/</link><pubDate>Fri, 06 Feb 2009 08:30:00 +0000</pubDate><guid>https://bryanavery.co.uk/caching-from-a-non-web-applications/</guid><description>&lt;p&gt;Okay you are developing a WinForm application and you are looking at performance, one area is Caching of information, but wait a minute I’ve been using caching in my web applications for sometime, but how do you do it from a WinForm application as you don’t have a host to store your cache.&lt;/p&gt;</description></item><item><title>“Dilbert” on Extreme and Agile Programming</title><link>https://bryanavery.co.uk/dilbert-on-extreme-and-agile-programming/</link><pubDate>Thu, 05 Feb 2009 08:30:00 +0000</pubDate><guid>https://bryanavery.co.uk/dilbert-on-extreme-and-agile-programming/</guid><description>&lt;p&gt;&lt;img alt="" decoding="async" src="https://bryanavery.co.uk/uploads/2009/2/dilbert-xp01.gif"/&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;img alt="" decoding="async" src="https://bryanavery.co.uk/uploads/2009/2/dilbert-xp02.gif"/&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;img alt="" decoding="async" src="https://bryanavery.co.uk/uploads/2009/2/dilbert-xp03.gif"/&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;img alt="" decoding="async" src="https://bryanavery.co.uk/uploads/2009/2/dilbert-agile_programming.gif"/&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span style="color: #666666; font-family: Arial; font-size: 13px; white-space: pre;"&gt;&lt;a href="http://www.globalnerdy.com/2007/11/28/dilbert-on-extreme-and-agile-programming/" target="_blank"&gt;“Dilbert” on Extreme and Agile Programming&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Generating a Random Password</title><link>https://bryanavery.co.uk/generating-a-random-password/</link><pubDate>Wed, 04 Feb 2009 09:17:00 +0000</pubDate><guid>https://bryanavery.co.uk/generating-a-random-password/</guid><description>&lt;p&gt;Found a nice post from &lt;a href="http://www.dscoduc.com/post/?id=dd22dd4e-9182-4b33-82fa-ccd6ff3b50a3" target="_blank"&gt;Chris Blankenship’s blog&lt;/a&gt; about generating a Random Password, the code is just one line of code and is quite simple&lt;/p&gt;&#10;&lt;p&gt;string password = Membership.GeneratePassword(12, 1); &lt;br/&gt;Console.Writeline(“Random Password: ” + password);&lt;/p&gt;</description></item><item><title>Entity Framework Issues</title><link>https://bryanavery.co.uk/entity-framework-issues/</link><pubDate>Wed, 04 Feb 2009 08:59:00 +0000</pubDate><guid>https://bryanavery.co.uk/entity-framework-issues/</guid><description>&lt;p&gt;I’ve come across two issues with the Entity Framework, one that effects any language and one just for VB.NET&lt;/p&gt;&#10;&lt;p&gt;It’s quite simple, the Entity Framework generates edmx files, however that Inherits Global.System.Data.Objects.DataClasses.EntityObject, which means when you create your Partial class you can not Inherit from your own base class.&lt;/p&gt;</description></item><item><title>HTTP Sniffer</title><link>https://bryanavery.co.uk/http-sniffer/</link><pubDate>Sun, 01 Feb 2009 13:36:00 +0000</pubDate><guid>https://bryanavery.co.uk/http-sniffer/</guid><description>&lt;p&gt;Why can I never seem to remember the name of software I have used before?  Perhaps that is one reason why I try to keep my blog up to date, as I use it as a brain dump of tasks I have been working on, so when my memory fails me I can also revert to my Blog and perform a &lt;a href="https://bryanavery.co.uk/search/index.html"&gt;search&lt;/a&gt; or look at the &lt;a href="https://bryanavery.co.uk/archive/"&gt;archive&lt;/a&gt; and find what I as working on say 2 years ago.  I know softare moves on, but I always find some software no matter how old it is, just can’t be beaten.&lt;/p&gt;</description></item><item><title>Picasa Google’s web album</title><link>https://bryanavery.co.uk/picasa-googles-web-album/</link><pubDate>Sat, 31 Jan 2009 07:08:00 +0000</pubDate><guid>https://bryanavery.co.uk/picasa-googles-web-album/</guid><description>&lt;p&gt;I’ve always wanted to hook in to &lt;a href="http://picasaweb.google.co.uk/home" target="_blank"&gt;Goolges Picasa Web Album&lt;/a&gt; to allow for sites to store and display photos from Picasa, and I have just found a great blog from &lt;a href="http://www.rickardnilsson.net" target="_blank"&gt;Richard Nilsson&lt;/a&gt; on the startings of building a &lt;a href="http://www.rickardnilsson.net/post/2008/08/14/Building-a-Photo-Album-widget-for-BlogEngineNET/#comment" target="_blank"&gt;photo album on your site&lt;/a&gt;, well worth a visit.&lt;/p&gt;</description></item><item><title>Anonymous methods, Lambdas, Confusion</title><link>https://bryanavery.co.uk/anonymous-methods-lambdas-confusion/</link><pubDate>Thu, 29 Jan 2009 10:07:00 +0000</pubDate><guid>https://bryanavery.co.uk/anonymous-methods-lambdas-confusion/</guid><description>&lt;p&gt;I’ve been using Anonymous methods and Lambdas extressions for a little while now, but I do find as I go from customer to customer, do they really understand what all this means?&lt;/p&gt;&#10;&lt;p&gt;I can now safely say that &lt;a href="http://mtaulty.com/CommunityServer/blogs/mike_taultys_blog/archive/2009/01/28/anonymous-methods-lambdas-confusion/" target="_blank"&gt;Mike Taulty&lt;/a&gt; has posted a very good blog on the subject, which should assist in helping people to understand what it is all about.&lt;/p&gt;</description></item><item><title>MVC Release Candidate 1</title><link>https://bryanavery.co.uk/mvc-release-candidate-1/</link><pubDate>Wed, 28 Jan 2009 08:40:00 +0000</pubDate><guid>https://bryanavery.co.uk/mvc-release-candidate-1/</guid><description>&lt;p&gt;Microsoft have release &lt;a href="http://weblogs.asp.net/scottgu/archive/2009/01/27/asp-net-mvc-1-0-release-candidate-now-available/" target="_blank"&gt;MVC Release Candidate 1&lt;/a&gt;, I’ve had a little play with MVC and it looks very promising, although it is a different way of programming for your web site, the benefits are huge.&lt;/p&gt;&#10;&lt;p&gt;You can download &lt;a href="http://go.microsoft.com/fwlink/?LinkID=141184&amp;amp;clcid=0x409" target="_blank"&gt;MVC Release Candidate 1 from this link&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Ski Boots for sale</title><link>https://bryanavery.co.uk/ski-boots-for-sale/</link><pubDate>Sun, 25 Jan 2009 11:57:00 +0000</pubDate><guid>https://bryanavery.co.uk/ski-boots-for-sale/</guid><description>&lt;p&gt;I’m selling my Ski Boots on &lt;a href="http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&amp;amp;item=300289215769" target="_blank"&gt;Ebay&lt;/a&gt;, if any one is interested&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&amp;amp;item=300289215769" target="_blank"&gt;http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&amp;amp;item=300289215769&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;img alt="" decoding="async" src="https://bryanavery.co.uk/uploads/2009/1/IMG_0262_small.jpg"/&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;img alt="" decoding="async" src="https://bryanavery.co.uk/uploads/2009/1/IMG_0263+small.jpg"/&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;img alt="" decoding="async" src="https://bryanavery.co.uk/uploads/2009/1/IMG_0264+small.jpg"/&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;img alt="" decoding="async" src="https://bryanavery.co.uk/uploads/2009/1/IMG_0266+small.jpg"/&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;img alt="" decoding="async" src="https://bryanavery.co.uk/uploads/2009/1/IMG_0267+small.jpg"/&gt;&lt;/p&gt;</description></item><item><title>WCF getting started</title><link>https://bryanavery.co.uk/wcf-getting-started/</link><pubDate>Sat, 24 Jan 2009 22:39:00 +0000</pubDate><guid>https://bryanavery.co.uk/wcf-getting-started/</guid><description>&lt;p&gt;I’m not currently working on WCF, but I when I find some useful links I’ll add them here&lt;/p&gt;&#10;&lt;p&gt;Set of links for WCF&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/netframework/aa663324/" target="_blank"&gt;Getting Started with Windows Communication Foundation (WCF)&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;If you’re going to do any extensive WCF services it is worth getting hold of &lt;a href="http://oreilly.com/catalog/9780596526993" target="_blank"&gt;Programming WCF Services&lt;/a&gt; by Juval Lowy&lt;/p&gt;</description></item><item><title>My Weather station</title><link>https://bryanavery.co.uk/my-weather-station/</link><pubDate>Sat, 24 Jan 2009 06:05:00 +0000</pubDate><guid>https://bryanavery.co.uk/my-weather-station/</guid><description>&lt;p&gt;I’ve been playing with my Weather station, Watson W-8681, since Christmas Day, and I love it.&lt;/p&gt;&#10;&lt;p&gt;It came in a small box, all tidy and wanting to be built on Christmas day&lt;/p&gt;&#10;&lt;p&gt;&lt;img alt="" decoding="async" src="https://bryanavery.co.uk/uploads/2009/1/a_stationboxed.jpg"/&gt;&lt;/p&gt;&#10;&lt;p&gt;Taking it all out of the box, you get the rain water measurer, wind direction, software CD, temp and wireless sensor and a cover to protect it, wind speed and all the fixing clamps needed.&lt;/p&gt;</description></item><item><title>Creating an Entity Connection for the Entity Framework</title><link>https://bryanavery.co.uk/creating-an-entity-connection-for-the-entity-framework/</link><pubDate>Fri, 23 Jan 2009 09:18:00 +0000</pubDate><guid>https://bryanavery.co.uk/creating-an-entity-connection-for-the-entity-framework/</guid><description>&lt;p&gt;When you start to play with the Entity Framework you will soon come up with the need to store your connection in a common place.  To do this you will need to with provide the connection string to the Entity Object Context or provide the &lt;a href="http://msdn.microsoft.com/en-us/library/system.data.entityclient.entityconnection/" target="_blank"&gt;Entity Connection&lt;/a&gt;.  I prefer to us the Entity Connection as you can explicity define each section of the connection.&lt;/p&gt;</description></item><item><title>StructureMap Example</title><link>https://bryanavery.co.uk/structuremap-example/</link><pubDate>Thu, 22 Jan 2009 11:47:00 +0000</pubDate><guid>https://bryanavery.co.uk/structuremap-example/</guid><description>&lt;p&gt;After using StructureMap for a while I thought it would be nice to generate a simple example of how it all works, so I’ve built in Visual Studio 2008, both C# and a VB.NET version.&lt;/p&gt;</description></item><item><title>LINQ to Entity Framework</title><link>https://bryanavery.co.uk/linq-to-entity-framework/</link><pubDate>Wed, 21 Jan 2009 14:19:00 +0000</pubDate><guid>https://bryanavery.co.uk/linq-to-entity-framework/</guid><description>&lt;p&gt;What with Entity Framework around, I have been finding it quite hard to find any good information about the Framework, so I have started to compile a list of good resources&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/aa697427(VS.80)/" target="_blank"&gt;The ADO.NET Entity Framework Overview&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Fastest way to find the number of records in MS SQL</title><link>https://bryanavery.co.uk/fastest-way-to-find-the-number-of-records-in-ms-sql/</link><pubDate>Mon, 19 Jan 2009 16:16:00 +0000</pubDate><guid>https://bryanavery.co.uk/fastest-way-to-find-the-number-of-records-in-ms-sql/</guid><description>&lt;p&gt;Have you ever had a table to a lot of rows, when I mean a lot I mean over 1,000,000 records.&lt;/p&gt;&#10;&lt;p&gt;If you try and perform a row count like&lt;/p&gt;&#10;&lt;p&gt;SELECT COUNT(ID) FROM table&lt;/p&gt;&#10;&lt;p&gt;it just takes forever.&lt;/p&gt;</description></item><item><title>LINQ to SQL v LINQ to Entities</title><link>https://bryanavery.co.uk/linq-to-sql-v-linq-to-entities/</link><pubDate>Mon, 19 Jan 2009 14:43:00 +0000</pubDate><guid>https://bryanavery.co.uk/linq-to-sql-v-linq-to-entities/</guid><description>&lt;p&gt;Whatare the differences between LINQ to SQL v LINQ to Entities, well:&lt;/p&gt;&#10;&lt;p&gt;LINQ to SQL uses tables as entities&lt;/p&gt;&#10;&lt;p&gt;LINQ to Entities allows me to write C# LINQ queries that run against a conceptual data model.&lt;/p&gt;</description></item><item><title>LINQ Entity Framework</title><link>https://bryanavery.co.uk/linq-entity-framework/</link><pubDate>Mon, 19 Jan 2009 11:37:00 +0000</pubDate><guid>https://bryanavery.co.uk/linq-entity-framework/</guid><description>&lt;p&gt;Microsoft has released it’s Entity Framework to the work, so does this mean the death of LINQ to SQL?  Check out my blog on this, &lt;a href="https://bryanavery.co.uk/post/2008/10/31/Is-LINQ-to-SQL-about-to-be-killed-off/"&gt;Death of LINQ to SQL&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="https://bryanavery.co.uk/post/2008/10/31/Is-LINQ-to-SQL-about-to-be-killed-off/"&gt;&lt;/a&gt;So why is LINQ so good, well the problems with data has always been around the different and many way you need to know to interface and programme to.  For example if you conntect to a Microsoft SQL Server database, you need to know SQL, to read and write to XML files you need to learn XPath or XQuery, to query Active Directory you need to know LDAP (Lightweigth Directory Access Protocol).  To know all of these are more is quite a task.&lt;/p&gt;</description></item><item><title>Easy way to go from C# to VB</title><link>https://bryanavery.co.uk/easy-way-to-go-from-c-to-vb/</link><pubDate>Mon, 19 Jan 2009 10:43:00 +0000</pubDate><guid>https://bryanavery.co.uk/easy-way-to-go-from-c-to-vb/</guid><description>&lt;p&gt;Programming in different languages is not an easy process, often getting confused at which syntax to use.  There are many online code converters&lt;/p&gt;</description></item><item><title>Woops, dropped iPhone</title><link>https://bryanavery.co.uk/woops-dropped-iphone/</link><pubDate>Sun, 18 Jan 2009 11:12:00 +0000</pubDate><guid>https://bryanavery.co.uk/woops-dropped-iphone/</guid><description>&lt;p&gt;Well it just had to happen, on Friday my iPhone slipped out of my hand and hit the floor flat on the screen.&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="https://bryanavery.co.uk/uploads/2009/1/IMG_0253.JPG" rel="lightbox"&gt;&lt;img alt="" decoding="async" height="125" src="https://bryanavery.co.uk/uploads/2009/1/IMG_0253.JPG"/&gt;&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;So a call to Apple support informed me that it will cost £206 to get repaired 🙁&lt;/p&gt;</description></item><item><title>Create SubVersion on an Internet machine via port 80</title><link>https://bryanavery.co.uk/create-subversion-on-an-internet-machine-via-port-80/</link><pubDate>Thu, 15 Jan 2009 16:01:00 +0000</pubDate><guid>https://bryanavery.co.uk/create-subversion-on-an-internet-machine-via-port-80/</guid><description>&lt;p&gt; &lt;/p&gt;&#10;&lt;p&gt;It’s nice to use SubVersion locally, after seeing that CodePlex now supporting SVN over HTTP, I thought I’d give it ago.  &lt;/p&gt;&#10;&lt;p&gt;Here all all the steps for allowing you to use SVN via port 80 and SVN:&lt;/p&gt;</description></item><item><title>Simple LINQ 2 SQL example</title><link>https://bryanavery.co.uk/simple-linq-2-sql-example/</link><pubDate>Thu, 15 Jan 2009 13:31:00 +0000</pubDate><guid>https://bryanavery.co.uk/simple-linq-2-sql-example/</guid><description>&lt;p&gt;I’ve been using LINQ to SQL for some time, and each time I come back to the same example, so it’s about time I shared the example:&lt;/p&gt;&#10;&lt;p&gt; &lt;/p&gt;&#10;&lt;p&gt;      //  Create a DataContext.&lt;br/&gt;      Northwind db = new Northwind();&lt;/p&gt;</description></item><item><title>January 2009 CTP of the Windows Azure Tools and SDK released</title><link>https://bryanavery.co.uk/january-2009-ctp-of-the-windows-azure-tools-and-sdk-released/</link><pubDate>Thu, 15 Jan 2009 13:11:00 +0000</pubDate><guid>https://bryanavery.co.uk/january-2009-ctp-of-the-windows-azure-tools-and-sdk-released/</guid><description>&lt;p&gt;Microsoft have release the January CTP edition of the Windows Azure Tools and SDK Kit&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="http://www.microsoft.com/downloads/details/?FamilyID=80e3eabf-0507-4560-aeb6-d31e9a70a0a6&amp;amp;displaylang=en" target="_blank"&gt;Windows Azure Software Development Kit (January 2009 CTP)&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="http://www.microsoft.com/downloads/details/?FamilyID=8e90b639-1ef0-4e21-bb73-fc22662911bc&amp;amp;displaylang=en" target="_blank"&gt;Windows Azure Tools for Microsoft Visual Studio January 2009 CTP&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span style="font-size: 11px; "&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Over complicated</title><link>https://bryanavery.co.uk/over-complicated/</link><pubDate>Wed, 14 Jan 2009 09:54:00 +0000</pubDate><guid>https://bryanavery.co.uk/over-complicated/</guid><description>&lt;p&gt;How many times have you seen this happen?&lt;/p&gt;&#10;&lt;p&gt;&lt;img alt="" decoding="async" src="https://bryanavery.co.uk/uploads/2009/1/im_an_idiot.png"/&gt;&lt;/p&gt;</description></item><item><title>Windows 7 available for download</title><link>https://bryanavery.co.uk/windows-7-available-for-download/</link><pubDate>Fri, 09 Jan 2009 08:36:00 +0000</pubDate><guid>https://bryanavery.co.uk/windows-7-available-for-download/</guid><description>&lt;p&gt;Following all the hype at PDC last year, Microsoft have not released Windows 7 Beta, &lt;a href="http://windowsteamblog.com/blogs/windows7/archive/2009/01/07/information-on-downloading-and-installing-windows-7-beta/" target="_blank"&gt;download&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;Cut to the chase and go directly to the &lt;a href="http://www.microsoft.com/windows/windows-7/beta-download/" target="_blank"&gt;download&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;I’ve also managed to &lt;a href="http://www.ind-igo.co.uk/windows7/7000.0.081212-1400_client_en-us_Ultimate-GB1CULFRE_EN_DVD.iso.zip" target="_blank"&gt;download &lt;/a&gt;a copy and place it on my server, but you’ll need a username and password to get the ISO file.&lt;/p&gt;</description></item><item><title>Windows 7</title><link>https://bryanavery.co.uk/windows-7/</link><pubDate>Fri, 09 Jan 2009 08:22:00 +0000</pubDate><guid>https://bryanavery.co.uk/windows-7/</guid><description>&lt;p&gt;We’ll I’ve not started with Windows 7 yet, but I’d thought I’d kick off with a cartoon&lt;/p&gt;&#10;&lt;p&gt;&lt;img alt="" decoding="async" src="https://bryanavery.co.uk/uploads/2009/1/windows_7.png"/&gt;&lt;/p&gt;</description></item><item><title>Development software for small startups</title><link>https://bryanavery.co.uk/development-software-for-small-startups/</link><pubDate>Tue, 06 Jan 2009 07:33:00 +0000</pubDate><guid>https://bryanavery.co.uk/development-software-for-small-startups/</guid><description>&lt;p&gt;&lt;span style="font-size: small;"&gt;Microsoft has released BizSpark, produced for the new start up development businesses that need to get going with all the latests technology.  Providing the software, support and visibility required for a small business.&lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span style="border-collapse: collapse; font-family: arial; font-size: 13px;"&gt;&lt;a href="http://www.microsoft.com/bizspark/Default/" style="color: #0000cc;" target="_blank"&gt;&lt;span style="font-size: small;"&gt;http://www.microsoft.com/bizspark/Default/&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Tracking Server Logins</title><link>https://bryanavery.co.uk/tracking-server-logins/</link><pubDate>Mon, 05 Jan 2009 15:03:00 +0000</pubDate><guid>https://bryanavery.co.uk/tracking-server-logins/</guid><description>&lt;p&gt;It’s nice to know who and when people are logging on to your servers, here is a very simple way of recording someone logging on and logging off the server&lt;/p&gt;&#10;&lt;p&gt;Create a file called:&lt;/p&gt;&#10;&lt;p style="padding-left: 30px;"&gt;logon.cmd&lt;/p&gt;</description></item><item><title>Googles hidden gems</title><link>https://bryanavery.co.uk/googles-hidden-gems/</link><pubDate>Sat, 03 Jan 2009 16:43:00 +0000</pubDate><guid>https://bryanavery.co.uk/googles-hidden-gems/</guid><description>&lt;h2&gt;Chrome&lt;br/&gt;&lt;/h2&gt;&#10;&lt;p&gt;&lt;span style="color: #333333; font-size: 12px; line-height: 22px;"&gt;In the Google Chrome’s address bar type:&lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span style="color: #333333; font-size: 12px; line-height: 22px;"&gt;about:internets (XP only)&lt;br style="padding: 0px; margin: 0px;"/&gt;about:stats&lt;br style="padding: 0px; margin: 0px;"/&gt;about:memory&lt;br style="padding: 0px; margin: 0px;"/&gt;about:network&lt;br style="padding: 0px; margin: 0px;"/&gt;about:histograms&lt;br style="padding: 0px; margin: 0px;"/&gt;about:dns&lt;br style="padding: 0px; margin: 0px;"/&gt;about:cache&lt;br style="padding: 0px; margin: 0px;"/&gt;about:plugins&lt;br style="padding: 0px; margin: 0px;"/&gt;about:version&lt;/span&gt;&lt;/p&gt;</description></item><item><title>How to create a Carousel in a webpage</title><link>https://bryanavery.co.uk/how-to-create-a-carousel-in-a-webpage/</link><pubDate>Mon, 22 Dec 2008 10:17:00 +0000</pubDate><guid>https://bryanavery.co.uk/how-to-create-a-carousel-in-a-webpage/</guid><description>&lt;p&gt;The latest fad is to create Carousels to display images, and allow for easy navigation.  I have not been able to find any .NET controls to enable you to create a Carousel on a web page.&lt;/p&gt;</description></item><item><title>Embedding javascript in an assembly</title><link>https://bryanavery.co.uk/embedding-javascript-in-an-assembly/</link><pubDate>Mon, 22 Dec 2008 10:01:00 +0000</pubDate><guid>https://bryanavery.co.uk/embedding-javascript-in-an-assembly/</guid><description>&lt;p&gt;I've always been able to create a standalone DLL control that can be reused in other web applications.  I've never really found out how to embed other resources, or more to the point JavaScript files.&lt;/p&gt;</description></item><item><title>Generating an Audit for LINQ</title><link>https://bryanavery.co.uk/generating-an-audit-for-linq/</link><pubDate>Sat, 20 Dec 2008 17:37:00 +0000</pubDate><guid>https://bryanavery.co.uk/generating-an-audit-for-linq/</guid><description>&lt;p&gt;One of the tasks Jon was given was to create an Audit module for LINQ, and came across this link which seems to provide a solution.  I’ve not had time to go over the solution, but it appears to do a very good job at first glance.&lt;/p&gt;</description></item><item><title>Small free and replacement for Notepad</title><link>https://bryanavery.co.uk/small-free-and-replacement-for-notepad/</link><pubDate>Fri, 19 Dec 2008 08:59:00 +0000</pubDate><guid>https://bryanavery.co.uk/small-free-and-replacement-for-notepad/</guid><description>&lt;p&gt;Do you still use Notepad that ships with Windows?&lt;/p&gt;&#10;&lt;p&gt;I did, until I found &lt;a href="http://www.notepad2.com/" target="_blank"&gt;NotePad2&lt;/a&gt;, it’s fast, it’s easy to use, and more to the point it works.&lt;/p&gt;&#10;&lt;p&gt;I’ve been using it for the past 2 months, and I have not got any clue to the features, but what I like about it is it just works and is a very good replacement for the standard Windows Notepad. &lt;/p&gt;</description></item><item><title>Getting Started with Silverlight</title><link>https://bryanavery.co.uk/getting-started-with-silverlight/</link><pubDate>Thu, 18 Dec 2008 17:21:00 +0000</pubDate><guid>https://bryanavery.co.uk/getting-started-with-silverlight/</guid><description>&lt;p&gt;&lt;a href="http://www.microsoft.com/downloads/details/?familyid=C22D6A7B-546F-4407-8EF6-D60C8EE221ED&amp;amp;displaylang=en" target="_blank"&gt;Microsoft® Silverlight™ Tools for Visual Studio 2008 SP1&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt; &lt;/p&gt;&#10;&lt;p&gt;If you going to do anything with Silverlight you’re going to have to get Blend to:&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="http://www.microsoft.com/downloads/details/?familyid=5FF08106-B9F4-43CD-ABAD-4CC9D9C208D7&amp;amp;displaylang=en" target="_blank"&gt;Microsoft Expression Blend™ 2 Trial&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="http://www.microsoft.com/downloads/details/?familyid=EB9B5C48-BA2B-4C39-A1C3-135C60BBBE66&amp;amp;displaylang=en" target="_blank"&gt;Microsoft Expression Blend™ 2 Service Pack 1&lt;/a&gt; &lt;/p&gt;</description></item><item><title>Which game for Christmas?</title><link>https://bryanavery.co.uk/which-game-for-christmas/</link><pubDate>Thu, 18 Dec 2008 13:24:00 +0000</pubDate><guid>https://bryanavery.co.uk/which-game-for-christmas/</guid><description>&lt;p&gt;I have a a wobble board for my Wii and I am looking for a game to play at Xmas, but which one?&lt;/p&gt;&#10;&lt;p&gt;&lt;iframe frameborder="0" height="210" src="https://polls.zoho.com/external/coppermill/what-game-for-christmas" width="260"&gt;&lt;/iframe&gt;&lt;/p&gt;&#10;&lt;p&gt; &lt;/p&gt;</description></item><item><title>My Theme made it in to the BlogEngine Themes</title><link>https://bryanavery.co.uk/my-theme-made-it-in-to-the-blogengine-themes/</link><pubDate>Thu, 18 Dec 2008 09:02:00 +0000</pubDate><guid>https://bryanavery.co.uk/my-theme-made-it-in-to-the-blogengine-themes/</guid><description>&lt;p&gt;After my work creating the &lt;a href="http://www.mad-tri.com" target="_blank"&gt;Mad Tri&lt;/a&gt; web site, I submitted the theme it to the BlogEngine team a few months ago and they have included it in their &lt;a href="http://www.codeplex.com/blogengine/Release/ProjectReleases/?ReleaseId=14988" target="_blank"&gt;Theme pack&lt;/a&gt;, what a lovely surprise.&lt;/p&gt;&#10;&lt;p&gt;The BlogEngine team are going to be working hard over Christmas, with updating the BlogEngine and release a new release. &lt;a href="http://blog.madskristensen.dk/post/BlogEngineNET-Christmas-update/" target="_blank"&gt;more…&lt;/a&gt;&lt;/p&gt;</description></item><item><title>I came from a distant planet…</title><link>https://bryanavery.co.uk/i-came-from-a-distant-planet/</link><pubDate>Thu, 18 Dec 2008 09:00:00 +0000</pubDate><guid>https://bryanavery.co.uk/i-came-from-a-distant-planet/</guid><description>&lt;p&gt;&lt;img alt="" decoding="async" src="https://bryanavery.co.uk/uploads/2008/12/EasyComeEasygo.png"/&gt;&lt;/p&gt;</description></item><item><title>Transaction Scope</title><link>https://bryanavery.co.uk/transaction-scope/</link><pubDate>Wed, 17 Dec 2008 10:26:00 +0000</pubDate><guid>https://bryanavery.co.uk/transaction-scope/</guid><description>&lt;p&gt;Need to check out &lt;a href="http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope/" target="_blank"&gt;Transaction Scope&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Page Notifications</title><link>https://bryanavery.co.uk/page-notifications/</link><pubDate>Tue, 16 Dec 2008 13:57:00 +0000</pubDate><guid>https://bryanavery.co.uk/page-notifications/</guid><description>&lt;p&gt;&lt;span class="Apple-style-span" style="color: #555555; font-size: 12px"&gt;The purpose of the class is to allow the application to display information to the end user.&lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;All that is required is for the calling application to set the Message in the PageNotifications class, e.g.&lt;/p&gt;</description></item><item><title>LINQ to SQL and Paging</title><link>https://bryanavery.co.uk/linq-to-sql-and-paging/</link><pubDate>Mon, 15 Dec 2008 13:29:00 +0000</pubDate><guid>https://bryanavery.co.uk/linq-to-sql-and-paging/</guid><description>&lt;p&gt;Oh how I remember those days of page through data, using a GridView controller, or any other controller, lots of coding and so easy to make a mistake.&lt;/p&gt;&#10;&lt;p&gt;Just take a look at &lt;a href="http://www.unboxedsolutions.com/sean/archive/2005/12/28/818/" target="_blank"&gt;http://www.unboxedsolutions.com/sean/archive/2005/12/28/818/&lt;/a&gt; by Sean Chase, and you will see what I mean.&lt;/p&gt;</description></item><item><title>Editable Resource Files</title><link>https://bryanavery.co.uk/editable-resource-files/</link><pubDate>Fri, 12 Dec 2008 12:44:00 +0000</pubDate><guid>https://bryanavery.co.uk/editable-resource-files/</guid><description>&lt;p&gt;&lt;a href="http://blog.lavablast.com/post/2008/02/RESX-file-Web-Editor/"&gt;http://blog.lavablast.com/post/2008/02/RESX-file-Web-Editor/&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="https://bryanavery.co.uk/file.axd?file=2009/10/ResXEditor.zip"&gt;ResXEditor.zip (1.01 mb)&lt;/a&gt;&lt;/p&gt;</description></item><item><title>C# 4.0 Dynamic Language</title><link>https://bryanavery.co.uk/c-4-0-dynamic-language/</link><pubDate>Thu, 11 Dec 2008 08:43:00 +0000</pubDate><guid>https://bryanavery.co.uk/c-4-0-dynamic-language/</guid><description>&lt;p&gt;With C# 4.0 going to include Dynamic Language programming, the reports and demos I have seen to date look very impressive.&lt;/p&gt;&#10;&lt;p&gt;The only main implementation and useful application was to connect to COM objects, or more to the point to Microsoft Office as this is pure COM, and always been really hard to connect and work with. &lt;/p&gt;</description></item><item><title>DataContext in LINQ to SQL</title><link>https://bryanavery.co.uk/datacontext-in-linq-to-sql/</link><pubDate>Wed, 10 Dec 2008 11:26:00 +0000</pubDate><guid>https://bryanavery.co.uk/datacontext-in-linq-to-sql/</guid><description>&lt;p&gt;What is the best practice and pattern to use for the DataContext with LINQ to SQL.&lt;/p&gt;&#10;&lt;p&gt;While using LINQ to SQL and it's DataContext I have found it is very easy to fall in to a &lt;span class="apple-style-span"&gt;&lt;span style="font-size: 8.5pt; line-height: 115%; font-family: Verdana, sans-serif; color: black"&gt;concurrency&lt;/span&gt;&lt;/span&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="font-size: 8.5pt; line-height: 115%; font-family: Verdana, sans-serif; color: black"&gt; issues when you try out multiusers, I've not found the answer as yet, but I have come across this article for different methods&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>LINQ 2 SQL default values</title><link>https://bryanavery.co.uk/linq-2-sql-default-values/</link><pubDate>Tue, 09 Dec 2008 13:52:00 +0000</pubDate><guid>https://bryanavery.co.uk/linq-2-sql-default-values/</guid><description>&lt;p&gt;One little crip I am having with LINQ to SQL is that when you build the DBML files within Visual Studio 2008, the default values from the database are not taken in to account.&lt;/p&gt;&#10;&lt;p&gt;This means that you need to set the default values against your object before it is saved or after the object is created.&lt;/p&gt;</description></item><item><title>CodePlex Presentation</title><link>https://bryanavery.co.uk/codeplex-presentation/</link><pubDate>Tue, 02 Dec 2008 12:25:00 +0000</pubDate><guid>https://bryanavery.co.uk/codeplex-presentation/</guid><description>&lt;div style="margin-top: 4.32pt; margin-bottom: 0pt; margin-left: 0.38in; text-indent: -0.38in; text-align: left; direction: ltr; unicode-bidi: embed; word-break: normal"&gt;List of files and links as part of my Grog talk at DotNetDevNet 2nd December 2008 &lt;/div&gt;&#10;&lt;div style="margin-top: 4.32pt; margin-bottom: 0pt; margin-left: 0.38in; text-indent: -0.38in; text-align: left; direction: ltr; unicode-bidi: embed; word-break: normal"&gt; &lt;/div&gt;&#10;&lt;div style="margin-top: 4.32pt; margin-bottom: 0pt; margin-left: 0.38in; text-indent: -0.38in; text-align: left; direction: ltr; unicode-bidi: embed; word-break: normal"&gt;&lt;span style="font-size: 18pt"&gt;&lt;span style="font-family: Arial"&gt;•&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 18pt; font-family: Calibri; color: black"&gt;Code&lt;/span&gt;&lt;span style="font-size: 18pt; font-family: Calibri; color: black"&gt;Plex&lt;/span&gt;&lt;span style="font-size: 18pt; font-family: Calibri; color: black"&gt;&lt;/span&gt;&lt;/div&gt;&#10;&lt;div class="O1" style="margin-top: 3.36pt; margin-bottom: 0pt; margin-left: 0.81in; text-indent: -0.31in; text-align: left; direction: ltr; unicode-bidi: embed; word-break: normal"&gt;&lt;span style="font-size: 14pt"&gt;&lt;span style="font-family: Arial"&gt;–&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt; font-family: Calibri; color: black"&gt;&lt;a href="http://www.codeplex.com/"&gt;http://www.codeplex.com/&lt;/a&gt;&lt;/span&gt;&lt;span style="font-size: 14pt; font-family: Calibri; color: black"&gt;&lt;/span&gt;&lt;/div&gt;&#10;&lt;div style="margin-top: 4.32pt; margin-bottom: 0pt; margin-left: 0.38in; text-indent: -0.38in; text-align: left; direction: ltr; unicode-bidi: embed; word-break: normal"&gt;&lt;span style="font-size: 18pt"&gt;&lt;span style="font-family: Arial"&gt;•&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 18pt; font-family: Calibri; color: black"&gt;VisualStudio Team System 2008 Team Explorer&lt;/span&gt;&lt;/div&gt;&#10;&lt;div class="O1" style="margin-top: 3.36pt; margin-bottom: 0pt; margin-left: 0.81in; text-indent: -0.31in; text-align: left; direction: ltr; unicode-bidi: embed; word-break: normal"&gt;&lt;span style="font-size: 14pt"&gt;&lt;span style="font-family: Arial"&gt;–&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt; font-family: Calibri; color: black"&gt;&lt;a href="http://tinyurl.com/VSTM-TeamExplorer"&gt;http://tinyurl.com/VSTM-TeamExplorer&lt;/a&gt;&lt;/span&gt;&lt;span style="font-size: 14pt; font-family: Calibri; color: black"&gt;&lt;/span&gt;&lt;/div&gt;&#10;&lt;div style="margin-top: 4.32pt; margin-bottom: 0pt; margin-left: 0.38in; text-indent: -0.38in; text-align: left; direction: ltr; unicode-bidi: embed; word-break: normal"&gt;&lt;span style="font-size: 18pt"&gt;&lt;span style="font-family: Arial"&gt;•&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 18pt; font-family: Calibri; color: black"&gt;SubVersion&lt;/span&gt;&lt;/div&gt;&#10;&lt;div class="O1" style="margin-top: 3.36pt; margin-bottom: 0pt; margin-left: 0.81in; text-indent: -0.31in; text-align: left; direction: ltr; unicode-bidi: embed; word-break: normal"&gt;&lt;span style="font-size: 14pt"&gt;&lt;span style="font-family: Arial"&gt;–&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt; font-family: Calibri; color: black"&gt;&lt;a href="http://subversion.tigris.org/"&gt;http://subversion.tigris.org/&lt;/a&gt;&lt;/span&gt;&lt;span style="font-size: 14pt; font-family: Calibri; color: black"&gt;&lt;/span&gt;&lt;/div&gt;&#10;&lt;div style="margin-top: 4.32pt; margin-bottom: 0pt; margin-left: 0.38in; text-indent: -0.38in; text-align: left; direction: ltr; unicode-bidi: embed; word-break: normal"&gt;&lt;span style="font-size: 18pt"&gt;&lt;span style="font-family: Arial"&gt;•&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 18pt; font-family: Calibri; color: black"&gt;Code&lt;/span&gt;&lt;span style="font-size: 18pt; font-family: Calibri; color: black"&gt;Plex&lt;/span&gt;&lt;span style="font-size: 18pt; font-family: Calibri; color: black"&gt; Blog&lt;/span&gt;&lt;/div&gt;&#10;&lt;p&gt;&lt;span style="font-size: 14pt"&gt;&lt;span style="font-family: Arial"&gt;–&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt; font-family: Calibri; color: black"&gt;&lt;a href="http://blogs.msdn.com/codeplex/"&gt;http://blogs.msdn.com/codeplex/&lt;/a&gt;&lt;/span&gt; &lt;/p&gt;</description></item><item><title>Links for The Cloud</title><link>https://bryanavery.co.uk/links-for-the-cloud/</link><pubDate>Tue, 25 Nov 2008 11:15:00 +0000</pubDate><guid>https://bryanavery.co.uk/links-for-the-cloud/</guid><description>&lt;p&gt;Here is a set of link you may need to get you going with Azure and the Microsoft Cloud&lt;/p&gt;&#10;&lt;p&gt;DDD7 presentation by Chris Hay, includes Power Point Presentation and Source Code, this is the best examples I have see to date&lt;/p&gt;</description></item><item><title>How to publish to the Cloud</title><link>https://bryanavery.co.uk/how-to-publish-to-the-cloud/</link><pubDate>Mon, 24 Nov 2008 21:39:00 +0000</pubDate><guid>https://bryanavery.co.uk/how-to-publish-to-the-cloud/</guid><description>&lt;p&gt;Okay it has taken me quite a while, but I finally found this Blog on how to publish to the Microsoft Cloud. &lt;/p&gt;&#10;&lt;p&gt;&lt;a href="http://blogs.msdn.com/jennylo/archive/2008/11/04/a-step-by-step-guide-from-creating-a-net-services-solution-to-running-the-multicast-sample/" target="_blank"&gt;A STEP BY STEP GUIDE&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;Not for getting you'll need an activation key Id to enable your services, I'm still trying to get mine. &lt;/p&gt;</description></item><item><title>Tables in the Cloud</title><link>https://bryanavery.co.uk/tables-in-the-cloud/</link><pubDate>Mon, 24 Nov 2008 13:14:00 +0000</pubDate><guid>https://bryanavery.co.uk/tables-in-the-cloud/</guid><description>&lt;p&gt;With Microsofts Cloud now available in CTP, I am looking at writing a blog entry about this great technology, but in the mean time if you are planning to use the Azure Tables, then it is worth checking out Chris Hays blog on Azure Tables&lt;/p&gt;</description></item><item><title>Membership and Security</title><link>https://bryanavery.co.uk/membership-and-security/</link><pubDate>Mon, 24 Nov 2008 13:08:00 +0000</pubDate><guid>https://bryanavery.co.uk/membership-and-security/</guid><description>&lt;p&gt;Always good to go back to basics, where ever I go I have the need to generate a security environment which is based on the MembershipProvider.&lt;/p&gt;&#10;&lt;p&gt;There are lots of examples out on the Internet so it makes it hard to find what you are after, everytime I end up back at the same website, as it take you through the basic Membership and then goes in to it in depth, such as switching users if you are an administrator.&lt;/p&gt;</description></item><item><title>Live Mesh</title><link>https://bryanavery.co.uk/live-mesh/</link><pubDate>Fri, 21 Nov 2008 09:04:00 +0000</pubDate><guid>https://bryanavery.co.uk/live-mesh/</guid><description>&lt;p&gt;Just been playing with Live Mesh Beta.&lt;/p&gt;&#10;&lt;p&gt;&lt;img alt="" decoding="async" src="https://bryanavery.co.uk/uploads/2008/11/livemesh.jpg"/&gt; &lt;/p&gt;&#10;&lt;p&gt;So easy to setup, just visit &lt;a href="https://www.mesh.com/Welcome/default/" target="_blank"&gt;https://www.mesh.com&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;You can either run the application from the web browser, or install a local client to your PC.&lt;/p&gt;&#10;&lt;p&gt;So I went to take and install the local client on my machine at home, asked it to share a few files, well I also choose a complete folder which contains about 25 Gbyes of information.&lt;/p&gt;</description></item><item><title>Team Foundation Server Addon’s</title><link>https://bryanavery.co.uk/team-foundation-server-addons/</link><pubDate>Tue, 18 Nov 2008 15:58:00 +0000</pubDate><guid>https://bryanavery.co.uk/team-foundation-server-addons/</guid><description>&lt;p&gt;There is an increasing number of Team Foundation Server Addon's, here are a list that might be of use &lt;/p&gt;&#10;&lt;p&gt;Working remotely and need to collaborate, check this out &lt;a href="http://msmvps.com/blogs/vstsblog/archive/2008/11/13/skype-collaboration-provider-for-tfs/" target="_blank"&gt;Working Skype Collaboration Provider for TFS&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt; &lt;/p&gt;</description></item><item><title>Web Testing</title><link>https://bryanavery.co.uk/web-testing/</link><pubDate>Tue, 18 Nov 2008 14:52:00 +0000</pubDate><guid>https://bryanavery.co.uk/web-testing/</guid><description>&lt;p&gt;I’ll start this article, and list different ways to perform Web Testing &lt;/p&gt;&#10;&lt;p&gt;&lt;a href="http://blogs.microsoft.co.il/blogs/shair/archive/2008/11/13/recording-web-test-using-fiddler/" target="_blank"&gt;Web testing using Fiddler&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;An old favourite of mine &lt;a href="http://www.microsoft.com/technet/archive/itsolutions/intranet/downloads/webstres.mspx?mfr=true" target="_blank"&gt;Microsoft Web Application Stress Testing&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;I am sure there are lots of different Web testing tools, and as I find them I will try and list them here. &lt;/p&gt;</description></item><item><title>Difference between two dates</title><link>https://bryanavery.co.uk/difference-between-two-dates/</link><pubDate>Tue, 18 Nov 2008 12:33:00 +0000</pubDate><guid>https://bryanavery.co.uk/difference-between-two-dates/</guid><description>&lt;p&gt;QUESTION:  What is the easiest way to find the difference between two dates?&lt;/p&gt;&#10;&lt;p&gt; &lt;/p&gt;&#10;&lt;p&gt;DateTime userLoginTime = (DateTime)roteTimeout.LastLoginTime;&lt;/p&gt;&#10;&lt;p&gt;TimeSpan span = DateTime.Now.Subtract(userLoginTime);&lt;/p&gt;&#10;&lt;p&gt;if (span.Seconds &amp;gt; userTimeout.TimeoutPeriod) &lt;/p&gt;&#10;&lt;p&gt;{&lt;/p&gt;&#10;&lt;p&gt;} &lt;/p&gt;</description></item><item><title>Writing to the Event Log from your Application</title><link>https://bryanavery.co.uk/writing-to-the-event-log-from-your-application/</link><pubDate>Sat, 15 Nov 2008 07:20:00 +0000</pubDate><guid>https://bryanavery.co.uk/writing-to-the-event-log-from-your-application/</guid><description>&lt;p&gt;Have you tried to write to the Event Log from within your application?&lt;/p&gt;&#10;&lt;p&gt;It's not hard to write to the Event Log these days, in fact .Net makes it quite easy.&lt;/p&gt;&#10;&lt;p&gt;Where the issue come is when you deploy your application you find the the operating environment does not have enough permissions.  I found a good article this morning on how to over come this by Rory Primrose&lt;/p&gt;</description></item><item><title>Implementing a Data Processing Extension</title><link>https://bryanavery.co.uk/implementing-a-data-processing-extension/</link><pubDate>Tue, 11 Nov 2008 13:27:00 +0000</pubDate><guid>https://bryanavery.co.uk/implementing-a-data-processing-extension/</guid><description>&lt;p&gt;&lt;span class="Apple-style-span" style="font-size: 13px"&gt;&lt;/span&gt;&lt;/p&gt;&#10;&lt;div id="contentdiv"&gt;&#10;&lt;h2 style="font-family: Verdana, Helvetica, Arial, sans-serif; font-weight: bold; color: #ff9900; font-size: 13pt"&gt;Introduction&lt;/h2&gt;&#10;&lt;p style="font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 10pt; color: black"&gt;I will take you through how to deploy your own Custom Data Process Extension for SQL Server Reporting Server 2005, both on the server and for use within your development environment.&lt;/p&gt;&#10;&lt;h2 style="font-family: Verdana, Helvetica, Arial, sans-serif; font-weight: bold; color: #ff9900; font-size: 13pt"&gt;Background&lt;/h2&gt;&#10;&lt;p style="font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 10pt; color: black"&gt;I've been using and writing Reports for SQL Server Reporting Services for some time now, and it has come time to write my own Security Implementation for the reports. In order for me to do this, I needed to find out how to change the Data Sources within Reporting Services.&lt;/p&gt;&#10;&lt;p style="font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 10pt; color: black"&gt;I did find some resource information on Microsoft TechNet: &lt;a href="http://technet.microsoft.com/en-us/library/ms154655/" style="text-decoration: none" target="_blank"&gt;Implementing a Data Processing Extension&lt;/a&gt;. I found this article both useful and hard to follow, hence I have written this CodeProject article to help you get up and going as quickly as possible.&lt;/p&gt;&#10;&lt;h2 style="font-family: Verdana, Helvetica, Arial, sans-serif; font-weight: bold; color: #ff9900; font-size: 13pt"&gt;&lt;a name="Prerequisite" title="Prerequisite"&gt;&lt;/a&gt;Prerequisites&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li style="font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 10pt; color: black"&gt;I assume you are familiar with SQL Reporting Services, what they are, design, and installation. For more info about this subject, click &lt;a href="http://www.microsoft.com/sql/reporting/default.asp" style="text-decoration: none" target="_blank"&gt;here&lt;/a&gt;.&lt;/li&gt;&#10;&lt;li style="font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 10pt; color: black"&gt;You should have SQL Reporting Services 2005 already installed.&lt;/li&gt;&#10;&lt;li style="font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 10pt; color: black"&gt;Visual Studio 2005 with SQL Server Reporting Services Report Templates installed.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 style="font-family: Verdana, Helvetica, Arial, sans-serif; font-weight: bold; color: #ff9900; font-size: 13pt"&gt;Compile the Custom Data Source Extension&lt;/h2&gt;&#10;&lt;p style="font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 10pt; color: black"&gt;After loading the source code, you will need to reference the "Reporting Services Interfaces". In my case, it is located in: &lt;em&gt;C:\Program Files\Microsoft SQL Server\90\SDK\Assemblies\Microsoft.ReportingServices.Interfaces.dll&lt;/em&gt;; however, this may differ for your installation.&lt;/p&gt;&#10;&lt;p style="font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 10pt; color: black"&gt;Once you have made the reference, you should be able to compile the application.&lt;/p&gt;&#10;&lt;h2 style="font-family: Verdana, Helvetica, Arial, sans-serif; font-weight: bold; color: #ff9900; font-size: 13pt"&gt;Installation of the Custom Data Source&lt;/h2&gt;&#10;&lt;p style="font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 10pt; color: black"&gt;After downloading the source above for the custom data processing extension, you must install it to enable access. The installation process is performed in two steps:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li style="font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 10pt; color: black"&gt;Installing and configuring the extension.&lt;/li&gt;&#10;&lt;li style="font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 10pt; color: black"&gt;Configuring extension security.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p style="font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 10pt; color: black"&gt;This particular extension is used both by the Reporting Server and within the Visual Studio 2005 Report Designer; both have a different location for configuration, either on the server or your development machine. However both configurations are very similar.&lt;/p&gt;&#10;&lt;h3 style="font-family: Verdana, Helvetica, Arial, sans-serif; font-weight: bold; color: #ff9900; font-size: 12pt; letter-spacing: -1px"&gt;Development Installation&lt;/h3&gt;&#10;&lt;p style="font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 10pt; color: black"&gt;Two configuration files are required to be changed in order for you to be able to see your Custom Data Source from within the development environment. These files typically are held in &lt;em&gt;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies&lt;/em&gt;; these files are:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li style="font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 10pt; color: black"&gt;&lt;em&gt;RSReportDesigner.config&lt;/em&gt;&lt;/li&gt;&#10;&lt;li style="font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 10pt; color: black"&gt;&lt;em&gt;RSPreviewPolicy.config&lt;/em&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h4 style="font-family: Verdana, Helvetica, Arial, sans-serif; color: black; font-weight: bold; font-size: 10pt; margin-top: 2px; margin-bottom: 0px"&gt;Copy your assembly&lt;/h4&gt;&#10;&lt;p style="font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 10pt; color: black"&gt;First, you need to copy the Custom Data Source files to the "&lt;em&gt;PrivateAssemblies&lt;/em&gt;" folder, as this is where they are referenced.&lt;/p&gt;&#10;&lt;h4 style="font-family: Verdana, Helvetica, Arial, sans-serif; color: black; font-weight: bold; font-size: 10pt; margin-top: 2px; margin-bottom: 0px"&gt;Setup the configuration file&lt;/h4&gt;&#10;&lt;p style="font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 10pt; color: black"&gt;The &lt;em&gt;RSReportDesigner.config&lt;/em&gt; holds the reference to the Extension. The following needs to be added to the &lt;code&gt;&lt;span class="code-keyword" style="color: blue"&gt;&amp;lt;&lt;/span&gt;Data&lt;span class="code-keyword" style="color: blue"&gt;&amp;gt;&lt;/span&gt;&lt;/code&gt; tag within the &lt;code&gt;&lt;span class="code-keyword" style="color: blue"&gt;&amp;lt;&lt;/span&gt;Extension&lt;span class="code-keyword" style="color: blue"&gt;&amp;gt;&lt;/span&gt;&lt;/code&gt; tag:&lt;/p&gt;&#10;&lt;div class="SmallText" id="premain0" style="width: 100%; cursor: pointer; font-size: 8pt"&gt;&lt;img alt="" decoding="async" height="9" id="preimg0" src="https://www.codeproject.com/images/minus.gif" width="9"/&gt;&lt;span style="margin-bottom: 0px"&gt; Collapse&lt;/span&gt;&lt;/div&gt;&#10;&lt;pre style="margin-top: 0px; background-color: #fbedbb; font: normal normal normal 9pt/normal 'Courier New', Courier, mono; white-space: pre; overflow-x: auto !important; overflow-y: auto !important; padding: 7pt"&gt;&lt;span class="code-keyword" style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span class="code-leadattribute" style="color: #800000"&gt;Extension&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Name&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;CUSTOM_DATASOURCE"&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Type&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;DataSourceExtension.DataSetConnection, DataSourceExtension"&lt;/span&gt; &lt;span class="code-keyword" style="color: blue"&gt;/&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&#10;&lt;p style="font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 10pt; color: black"&gt;In order for the designer to use the Custom Data Source, you need to add the following to the &lt;code&gt;&lt;span class="code-keyword" style="color: blue"&gt;&amp;lt;&lt;/span&gt;Designer&lt;span class="code-keyword" style="color: blue"&gt;&amp;gt;&lt;/span&gt;&lt;/code&gt; tag, usually situated just below the &lt;code&gt;&lt;span class="code-keyword" style="color: blue"&gt;&amp;lt;&lt;/span&gt;Data&lt;span class="code-keyword" style="color: blue"&gt;&amp;gt;&lt;/span&gt;&lt;/code&gt; tag:&lt;/p&gt;&#10;&lt;div class="SmallText" id="premain1" style="width: 100%; cursor: pointer; font-size: 8pt"&gt;&lt;img alt="" decoding="async" height="9" id="preimg1" src="https://www.codeproject.com/images/minus.gif" width="9"/&gt;&lt;span style="margin-bottom: 0px"&gt; Collapse&lt;/span&gt;&lt;/div&gt;&#10;&lt;pre style="margin-top: 0px; background-color: #fbedbb; font: normal normal normal 9pt/normal 'Courier New', Courier, mono; white-space: pre; overflow-x: auto !important; overflow-y: auto !important; padding: 7pt"&gt;&amp;lt;Extension Name=&lt;span class="code-string" style="color: purple"&gt;"&lt;/span&gt;&lt;span class="code-string" style="color: purple"&gt;CUSTOM_DATASOURCE"&lt;/span&gt; _Type=&lt;span class="code-string" style="color: purple"&gt;"&lt;/span&gt;&lt;span class="code-string" style="color: purple"&gt;Microsoft.ReportingServices.QueryDesigners.GenericQueryDesigner,Microsoft.ReportingServices.QueryDesigners"&lt;/span&gt;/&amp;gt;&lt;/pre&gt;&#10;&lt;p style="font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 10pt; color: black"&gt;You will notice that this time we are pointing to the standard Microsoft Generic Query Designer. This is because we are trying to build a Custom Data Source Extension and not a Query Designer.&lt;/p&gt;&#10;&lt;p style="font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 10pt; color: black"&gt;What you should end up with is a &lt;em&gt;RSReportDesigner.config&lt;/em&gt; file, looking something like this:&lt;/p&gt;&#10;&lt;div class="SmallText" id="premain2" style="width: 100%; cursor: pointer; font-size: 8pt"&gt;&lt;img alt="" decoding="async" height="9" id="preimg2" src="https://www.codeproject.com/images/minus.gif" width="9"/&gt;&lt;span style="margin-bottom: 0px"&gt; Collapse&lt;/span&gt;&lt;/div&gt;&#10;&lt;pre style="margin-top: 0px; background-color: #fbedbb; font: normal normal normal 9pt/normal 'Courier New', Courier, mono; white-space: pre; overflow-x: auto !important; overflow-y: auto !important; padding: 7pt"&gt;&lt;span class="code-keyword" style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span class="code-leadattribute" style="color: #800000"&gt;Configuration&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;&amp;gt;&lt;/span&gt; &lt;span class="code-keyword" style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span class="code-leadattribute" style="color: #800000"&gt;Add&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Key&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;SecureConnectionLevel"&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Value&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;0"&lt;/span&gt; &lt;span class="code-keyword" style="color: blue"&gt;/&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;&amp;gt;&lt;/span&gt; &lt;span class="code-keyword" style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span class="code-leadattribute" style="color: #800000"&gt;Add&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Key&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;InstanceName"&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Value&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;Microsoft.ReportingServices.PreviewServer"&lt;/span&gt; &lt;span class="code-keyword" style="color: blue"&gt;/&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;&amp;gt;&lt;/span&gt; &lt;span class="code-keyword" style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span class="code-leadattribute" style="color: #800000"&gt;Add&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Key&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;SessionCookies"&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Value&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;true"&lt;/span&gt; &lt;span class="code-keyword" style="color: blue"&gt;/&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;&amp;gt;&lt;/span&gt; &lt;span class="code-keyword" style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span class="code-leadattribute" style="color: #800000"&gt;Add&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Key&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;SessionTimeoutMinutes"&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Value&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;3"&lt;/span&gt; &lt;span class="code-keyword" style="color: blue"&gt;/&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;&amp;gt;&lt;/span&gt; &lt;span class="code-keyword" style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span class="code-leadattribute" style="color: #800000"&gt;Add&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Key&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;PolicyLevel"&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Value&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;rspreviewpolicy.config"&lt;/span&gt; &lt;span class="code-keyword" style="color: blue"&gt;/&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;&amp;gt;&lt;/span&gt; &lt;span class="code-keyword" style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span class="code-leadattribute" style="color: #800000"&gt;Add&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Key&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;CacheDataForPreview"&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Value&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;true"&lt;/span&gt; &lt;span class="code-keyword" style="color: blue"&gt;/&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;&amp;gt;&lt;/span&gt; &lt;span class="code-keyword" style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span class="code-leadattribute" style="color: #800000"&gt;Extensions&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;&amp;gt;&lt;/span&gt; &lt;span class="code-keyword" style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span class="code-leadattribute" style="color: #800000"&gt;Render&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;&amp;gt;&lt;/span&gt; &lt;span class="code-keyword" style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span class="code-leadattribute" style="color: #800000"&gt;Extension&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Name&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;XML"&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Type&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;Microsoft.ReportingServices.Rendering.XmlDataRenderer.XmlDataReport,Microsoft.ReportingServices.XmlRendering"&lt;/span&gt; &lt;span class="code-keyword" style="color: blue"&gt;/&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;&amp;gt;&lt;/span&gt; &lt;span class="code-keyword" style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span class="code-leadattribute" style="color: #800000"&gt;Extension&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Name&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;CSV"&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Type&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;Microsoft.ReportingServices.Rendering.CsvRenderer.CsvReport,Microsoft.ReportingServices.CsvRendering"&lt;/span&gt; &lt;span class="code-keyword" style="color: blue"&gt;/&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;&amp;gt;&lt;/span&gt; &lt;span class="code-keyword" style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span class="code-leadattribute" style="color: #800000"&gt;Extension&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Name&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;IMAGE"&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Type&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;Microsoft.ReportingServices.Rendering.ImageRenderer.ImageReport,Microsoft.ReportingServices.ImageRendering"&lt;/span&gt; &lt;span class="code-keyword" style="color: blue"&gt;/&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;&amp;gt;&lt;/span&gt; &lt;span class="code-keyword" style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span class="code-leadattribute" style="color: #800000"&gt;Extension&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Name&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;RGDI"&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Type&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;Microsoft.ReportingServices.Rendering.ImageRenderer.RemoteGdiReport,Microsoft.ReportingServices.ImageRendering"&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Visible&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;false"&lt;/span&gt; &lt;span class="code-keyword" style="color: blue"&gt;/&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;&amp;gt;&lt;/span&gt; &lt;span class="code-keyword" style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span class="code-leadattribute" style="color: #800000"&gt;Extension&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Name&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;PDF"&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Type&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;Microsoft.ReportingServices.Rendering.ImageRenderer.PdfReport,Microsoft.ReportingServices.ImageRendering"&lt;/span&gt; &lt;span class="code-keyword" style="color: blue"&gt;/&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;&amp;gt;&lt;/span&gt; &lt;span class="code-keyword" style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span class="code-leadattribute" style="color: #800000"&gt;Extension&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Name&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;HTML4.0"&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Type&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;Microsoft.ReportingServices.Rendering.HtmlRenderer.Html40RenderingExtension,Microsoft.ReportingServices.HtmlRendering"&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Visible&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;false"&lt;/span&gt; &lt;span class="code-keyword" style="color: blue"&gt;/&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;&amp;gt;&lt;/span&gt; &lt;span class="code-keyword" style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span class="code-leadattribute" style="color: #800000"&gt;Extension&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Name&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;HTML3.2"&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Type&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;Microsoft.ReportingServices.Rendering.HtmlRenderer.Html32RenderingExtension,Microsoft.ReportingServices.HtmlRendering"&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Visible&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;false"&lt;/span&gt; &lt;span class="code-keyword" style="color: blue"&gt;/&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;&amp;gt;&lt;/span&gt; &lt;span class="code-keyword" style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span class="code-leadattribute" style="color: #800000"&gt;Extension&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Name&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;MHTML"&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Type&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;Microsoft.ReportingServices.Rendering.HtmlRenderer.MHtmlRenderingExtension,Microsoft.ReportingServices.HtmlRendering"&lt;/span&gt; &lt;span class="code-keyword" style="color: blue"&gt;/&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;&amp;gt;&lt;/span&gt; &lt;span class="code-keyword" style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span class="code-leadattribute" style="color: #800000"&gt;Extension&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Name&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;EXCEL"&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Type&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;Microsoft.ReportingServices.Rendering.ExcelRenderer.ExcelRenderer,Microsoft.ReportingServices.ExcelRendering"&lt;/span&gt; &lt;span class="code-keyword" style="color: blue"&gt;/&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;&amp;gt;&lt;/span&gt; &lt;span class="code-keyword" style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;/&lt;/span&gt;&lt;span class="code-leadattribute" style="color: #800000"&gt;Render&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;&amp;gt;&lt;/span&gt; &lt;span class="code-keyword" style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span class="code-leadattribute" style="color: #800000"&gt;Data&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;&amp;gt;&lt;/span&gt; &lt;span class="code-keyword" style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span class="code-leadattribute" style="color: #800000"&gt;Extension&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Name&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;SQL"&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Type&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;Microsoft.ReportingServices.DataExtensions.SqlConnectionWrapper,Microsoft.ReportingServices.DataExtensions"&lt;/span&gt; &lt;span class="code-keyword" style="color: blue"&gt;/&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;&amp;gt;&lt;/span&gt; &lt;span class="code-keyword" style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span class="code-leadattribute" style="color: #800000"&gt;Extension&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Name&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;OLEDB"&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Type&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;Microsoft.ReportingServices.DataExtensions.OleDbConnectionWrapper,Microsoft.ReportingServices.DataExtensions"&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;/&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;&amp;gt;&lt;/span&gt; &lt;span class="code-keyword" style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span class="code-leadattribute" style="color: #800000"&gt;Extension&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Name&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;OLEDB-MD"&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Type&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;Microsoft.ReportingServices.DataExtensions.AdoMdConnection,Microsoft.ReportingServices.DataExtensions"&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;/&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;&amp;gt;&lt;/span&gt; &lt;span class="code-keyword" style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span class="code-leadattribute" style="color: #800000"&gt;Extension&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Name&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;ORACLE"&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Type&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;Microsoft.ReportingServices.DataExtensions.OracleClientConnectionWrapper,Microsoft.ReportingServices.DataExtensions"&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;/&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;&amp;gt;&lt;/span&gt; &lt;span class="code-keyword" style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span class="code-leadattribute" style="color: #800000"&gt;Extension&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Name&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;ODBC"&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Type&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;Microsoft.ReportingServices.DataExtensions.OdbcConnectionWrapper,Microsoft.ReportingServices.DataExtensions"&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;/&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;&amp;gt;&lt;/span&gt; &lt;span class="code-keyword" style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span class="code-leadattribute" style="color: #800000"&gt;Extension&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Name&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;XML"&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Type&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;Microsoft.ReportingServices.DataExtensions.XmlDPConnection,Microsoft.ReportingServices.DataExtensions"&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;/&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;&amp;gt;&lt;/span&gt; &lt;span class="code-keyword" style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span class="code-leadattribute" style="color: #800000"&gt;Extension&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Name&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;RS"&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Type&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;Microsoft.ReportingServices.DataExtensions.RSDPConnection,Microsoft.ReportingServices.DataExtensions"&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;/&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;&amp;gt;&lt;/span&gt; &lt;span class="code-keyword" style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span class="code-leadattribute" style="color: #800000"&gt;Extension&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Name&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;CUSTOM_DATASOURCE"&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Type&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;DataSourceExtension.DataSetConnection, DataSourceExtension"&lt;/span&gt; &lt;span class="code-keyword" style="color: blue"&gt;/&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;&amp;gt;&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;/&lt;/span&gt;&lt;span class="code-leadattribute" style="color: #800000"&gt;Data&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;&amp;gt;&lt;/span&gt; &lt;span class="code-keyword" style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span class="code-leadattribute" style="color: #800000"&gt;Designer&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;&amp;gt;&lt;/span&gt; &lt;span class="code-keyword" style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span class="code-leadattribute" style="color: #800000"&gt;Extension&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Name&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;SQL"&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Type&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;Microsoft.ReportingServices.QueryDesigners.VDTQueryDesigner,Microsoft.ReportingServices.QueryDesigners"&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;/&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;&amp;gt;&lt;/span&gt; &lt;span class="code-keyword" style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span class="code-leadattribute" style="color: #800000"&gt;Extension&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Name&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;OLEDB"&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Type&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;Microsoft.ReportingServices.QueryDesigners.VDTQueryDesigner,Microsoft.ReportingServices.QueryDesigners"&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;/&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;&amp;gt;&lt;/span&gt; &lt;span class="code-keyword" style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span class="code-leadattribute" style="color: #800000"&gt;Extension&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Name&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;OLEDB-MD"&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Type&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;Microsoft.ReportingServices.QueryDesigners.ASQueryDesigner,Microsoft.ReportingServices.QueryDesigners"&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;/&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;&amp;gt;&lt;/span&gt; &lt;span class="code-keyword" style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span class="code-leadattribute" style="color: #800000"&gt;Extension&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Name&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;ORACLE"&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Type&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;Microsoft.ReportingServices.QueryDesigners.VDTQueryDesigner,Microsoft.ReportingServices.QueryDesigners"&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;/&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;&amp;gt;&lt;/span&gt; &lt;span class="code-keyword" style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span class="code-leadattribute" style="color: #800000"&gt;Extension&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Name&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;ODBC"&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Type&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;Microsoft.ReportingServices.QueryDesigners.VDTQueryDesigner,Microsoft.ReportingServices.QueryDesigners"&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;/&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;&amp;gt;&lt;/span&gt; &lt;span class="code-keyword" style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span class="code-leadattribute" style="color: #800000"&gt;Extension&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Name&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;XML"&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Type&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;Microsoft.ReportingServices.QueryDesigners.GenericQueryDesigner,Microsoft.ReportingServices.QueryDesigners"&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;/&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;&amp;gt;&lt;/span&gt; &lt;span class="code-keyword" style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span class="code-leadattribute" style="color: #800000"&gt;Extension&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Name&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;RS"&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Type&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;Microsoft.ReportingServices.QueryDesigners.SMQLQueryDesigner,Microsoft.ReportingServices.QueryDesigners"&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;/&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;&amp;gt;&lt;/span&gt; &lt;span class="code-keyword" style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span class="code-leadattribute" style="color: #800000"&gt;Extension&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Name&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;CUSTOM_DATASOURCE"&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Type&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;Microsoft.ReportingServices.QueryDesigners.GenericQueryDesigner,Microsoft.ReportingServices.QueryDesigners"&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;/&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;&amp;gt;&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;/&lt;/span&gt;&lt;span class="code-leadattribute" style="color: #800000"&gt;Designer&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;&amp;gt;&lt;/span&gt; &lt;span class="code-keyword" style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;/&lt;/span&gt;&lt;span class="code-leadattribute" style="color: #800000"&gt;Extensions&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;&amp;gt;&lt;/span&gt; &lt;span class="code-keyword" style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;/&lt;/span&gt;&lt;span class="code-leadattribute" style="color: #800000"&gt;Configuration&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&#10;&lt;h4 style="font-family: Verdana, Helvetica, Arial, sans-serif; color: black; font-weight: bold; font-size: 10pt; margin-top: 2px; margin-bottom: 0px"&gt;Security configuration&lt;/h4&gt;&#10;&lt;p style="font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 10pt; color: black"&gt;The security is held in the &lt;em&gt;RSPreviewPolicy.config&lt;/em&gt; file, which is in the same folder as the configuration file (&lt;em&gt;RSReportDesigner.config&lt;/em&gt;). This file provides the security policy for SQL Server Reporting Services and allows access to your DLL.&lt;/p&gt;&#10;&lt;div class="SmallText" id="premain3" style="width: 100%; cursor: pointer; font-size: 8pt"&gt;&lt;img alt="" decoding="async" height="9" id="preimg3" loading="lazy" src="https://www.codeproject.com/images/minus.gif" width="9"/&gt;&lt;span style="margin-bottom: 0px"&gt; Collapse&lt;/span&gt;&lt;/div&gt;&#10;&lt;pre style="margin-top: 0px; background-color: #fbedbb; font: normal normal normal 9pt/normal 'Courier New', Courier, mono; white-space: pre; overflow-x: auto !important; overflow-y: auto !important; padding: 7pt"&gt; &lt;span class="code-keyword" style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span class="code-leadattribute" style="color: #800000"&gt;CodeGroup&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;class&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;UnionCodeGroup"&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;version&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;1"&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;PermissionSetName&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;FullTrust"&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Name&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;Customer_DataSource"&lt;/span&gt;&lt;span class="code-attribute" style="color: red"&gt;Description&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;Code group for my Custom DataSource for data processing extension"&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;&amp;gt;&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span class="code-leadattribute" style="color: #800000"&gt;IMembershipCondition&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;class&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;UrlMembershipCondition"&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;version&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;1"&lt;/span&gt; &lt;span class="code-attribute" style="color: red"&gt;Url&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;="&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\DataSourceExtension.dll"&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;/&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;&amp;gt;&lt;/span&gt; &lt;span class="code-keyword" style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;/&lt;/span&gt;&lt;span class="code-leadattribute" style="color: #800000"&gt;CodeGroup&lt;/span&gt;&lt;span class="code-keyword" style="color: blue"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&#10;&lt;h3 style="font-family: Verdana, Helvetica, Arial, sans-serif; font-weight: bold; color: #ff9900; font-size: 12pt; letter-spacing: -1px"&gt;Server Installation&lt;/h3&gt;&#10;&lt;p style="font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 10pt; color: black"&gt;To configure the Custom Data Extension on the server where your reports will be running, is a case of following the above, except you'll find the configuration files held in a different location, and depending on the installation, they appear in different places. On my installation file, they are all held in &lt;em&gt;C:\Program Files\Microsoft SQL Server\MSSQL.2\Reporting Services\ReportServer\bin&lt;/em&gt; and the configuration files are held in&lt;em&gt;C:\Program Files\Microsoft SQL Server\MSSQL.2\Reporting Services\ReportServer&lt;/em&gt;, with the names of the configuration files being:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li style="font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 10pt; color: black"&gt;&lt;em&gt;rsreportserver.config&lt;/em&gt;&lt;/li&gt;&#10;&lt;li style="font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 10pt; color: black"&gt;&lt;em&gt;rssrvpolicy.config&lt;/em&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p style="font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 10pt; color: black"&gt;As this is a server install, you will not need to make or add the &lt;code&gt;&lt;span class="code-keyword" style="color: blue"&gt;&amp;lt;&lt;/span&gt;Designer&lt;span class="code-keyword" style="color: blue"&gt;&amp;gt;&lt;/span&gt;&lt;/code&gt; tag.&lt;/p&gt;&#10;&lt;h2 style="font-family: Verdana, Helvetica, Arial, sans-serif; font-weight: bold; color: #ff9900; font-size: 13pt"&gt;Testing of the Custom Data Source Extension&lt;/h2&gt;&#10;&lt;p style="font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 10pt; color: black"&gt;In order to test the Custom Data Source Extension, you will need to generate either a report or a Shared Data Source that points to the new custom Data Source Extension.&lt;/p&gt;&#10;&lt;p style="font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 10pt; color: black"&gt;Create a new project within Visual Studio 2005, select a "&lt;strong&gt;Business Intelligence Project&lt;/strong&gt;", and select the "&lt;strong&gt;Report Server Project Wizard&lt;/strong&gt;" from the list of templates. On the new data type list, you should see "&lt;strong&gt;Custom DataSource Extension&lt;/strong&gt;". If, however, you don't, but you do see &lt;strong&gt;CUSTOM_DATASOURCE&lt;/strong&gt;, this means that the configuration has not picked up your &lt;em&gt;DataSourceExtension.dll&lt;/em&gt;, and you will need to check over the configuration files.&lt;/p&gt;&#10;&lt;p style="font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 10pt; color: black"&gt;&lt;img alt="Custom Data Source Extension" decoding="async" height="483" loading="lazy" src="https://www.codeproject.com/KB/reporting-services/Implementing_a_Data_Proce/CustomDataSourceExtension.png" width="521"/&gt;&lt;/p&gt;&#10;&lt;p style="font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 10pt; color: black"&gt;Enter a connection string, like the following: "&lt;em&gt;FileName=C:\bottles.xml&lt;/em&gt;", you'll find this file at the top in the download section. Click next, this will take you to the "&lt;strong&gt;Design a Query&lt;/strong&gt;" screen. Enter the following query: "&lt;code&gt;&lt;span class="code-keyword" style="color: blue"&gt;select&lt;/span&gt; * &lt;span class="code-keyword" style="color: blue"&gt;from&lt;/span&gt; company&lt;/code&gt;", as shown below:&lt;/p&gt;&#10;&lt;p style="font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 10pt; color: black"&gt;&lt;img alt="query builder" decoding="async" height="483" loading="lazy" src="https://www.codeproject.com/KB/reporting-services/Implementing_a_Data_Proce/CustomDataSourceExtension_querybuilder.png" width="521"/&gt;&lt;/p&gt;&#10;&lt;p style="font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 10pt; color: black"&gt;Click Next, and then continue until you have finished creating a report. You should now be able to run the report with the new Custom DataSource Extension that you can customise and shape to your own needs.&lt;/p&gt;&#10;&lt;h2 style="font-family: Verdana, Helvetica, Arial, sans-serif; font-weight: bold; color: #ff9900; font-size: 13pt"&gt;Points of Interest&lt;/h2&gt;&#10;&lt;p style="font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 10pt; color: black"&gt;Now that you have it running and working, it is worth going over how to debug the Custom Data Extension. I was not intending to cover this in this article, and will reference you to Microsoft TechNet on &lt;a href="http://technet.microsoft.com/en-us/library/ms155387/" style="text-decoration: none" target="_blank"&gt;Debugging Data Processing Extension Code&lt;/a&gt;, as this should provide you with sufficient information on how to setup debugging.&lt;/p&gt;&#10;&lt;h2 style="font-family: Verdana, Helvetica, Arial, sans-serif; font-weight: bold; color: #ff9900; font-size: 13pt"&gt;History&lt;/h2&gt;&#10;&lt;p style="font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 10pt; color: black"&gt;First release.&lt;/p&gt;&#10;&lt;/div&gt;</description></item><item><title>Simple PayPal</title><link>https://bryanavery.co.uk/simple-paypal/</link><pubDate>Tue, 11 Nov 2008 13:24:00 +0000</pubDate><guid>https://bryanavery.co.uk/simple-paypal/</guid><description>&lt;p&gt;&lt;span class="Apple-style-span" style="font-family: 'Segoe UI'; font-size: 13px"&gt;&lt;/span&gt;&lt;/p&gt;&#10;&lt;div&gt;Simple connection and Controls to make those PayPal payment easier &lt;/div&gt;&#10;&lt;div&gt;&lt;/div&gt;&#10;&lt;div&gt;I created this simple set of controls to make it easier to add PayPal simple buttons, all you need is a PayPal account and the buttons can point to allow you to make payment.&lt;/div&gt;&#10;&lt;div&gt;&lt;/div&gt;&#10;&lt;div&gt;Please feel free to test out the BuyNow button in to my account b_avery@yahoo.com, all funds welcome.&lt;/div&gt;&#10;&lt;div&gt;&lt;/div&gt;&#10;&lt;div&gt;Currently I am only adding features as and when I need them, but feel free to make comments or requests in the Discussions and Issue Tracker sections&lt;/div&gt;&#10;&lt;div&gt; &lt;/div&gt;&#10;&lt;div&gt;&lt;a href="http://www.codeplex.com/PayPal" target="_blank"&gt;Source can be found at CodePlex&lt;/a&gt; &lt;/div&gt;&#10;&lt;div&gt;&lt;/div&gt;&#10;&lt;div&gt;Other sources worth look at are : &lt;/div&gt;&#10;&lt;div&gt;&lt;/div&gt;&#10;&lt;div&gt;&lt;/div&gt;&#10;&lt;div&gt;Use of the PayPal payment system in ASP.NET h&lt;a href="ttp://www.codeproject.com/KB/aspnet/UsePayPalPaymentInASPNET/" target="_blank"&gt;ttp://www.codeproject.com/KB/aspnet/UsePayPalPaymentInASPNET/&lt;/a&gt;&lt;/div&gt;&#10;&lt;p&gt;&lt;/p&gt;</description></item><item><title>Report Viewer</title><link>https://bryanavery.co.uk/report-viewer/</link><pubDate>Tue, 11 Nov 2008 13:19:00 +0000</pubDate><guid>https://bryanavery.co.uk/report-viewer/</guid><description>&lt;p&gt; &lt;/p&gt;&#10;&lt;p&gt;Having a number of SSRS reports is all well and good, but if the end users can not see the reports it is useless, therefore we need to generate a method of viewing the reports via a small application.&lt;/p&gt;</description></item><item><title>Dynamic Data</title><link>https://bryanavery.co.uk/dynamic-data/</link><pubDate>Tue, 11 Nov 2008 09:24:00 +0000</pubDate><guid>https://bryanavery.co.uk/dynamic-data/</guid><description>&lt;p&gt;With the release of .Net 3.5 SP1 comes ASP.NET Dynamic Data.   Dynamic Data is a great tool to generate an administration website for your data access, enabling you to get at the data in a very simple method.&lt;/p&gt;</description></item><item><title>Pod Casts on the move</title><link>https://bryanavery.co.uk/pod-casts-on-the-move/</link><pubDate>Tue, 11 Nov 2008 08:31:00 +0000</pubDate><guid>https://bryanavery.co.uk/pod-casts-on-the-move/</guid><description>&lt;p&gt;I am always after good pod casts to listen to when you are not busy, driving the car or on the train.  So I thought I'd start to compile a list of worth listening to Pod Casts&lt;/p&gt;</description></item><item><title>Changing Membership provider</title><link>https://bryanavery.co.uk/changing-membership-provider/</link><pubDate>Mon, 10 Nov 2008 09:13:00 +0000</pubDate><guid>https://bryanavery.co.uk/changing-membership-provider/</guid><description>&lt;p&gt;&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-size: 14px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px"&gt;&lt;/span&gt;&lt;/p&gt;&#10;&lt;pre class="csharpcode" style="font-size: small; color: black; font-family: Consolas, 'Courier New', Courier, monospace; background-color: #ffffff"&gt;Need to change the membership provider &lt;span style="font-size: 8.5pt; font-family: Verdana, sans-serif; color: black"&gt;programmatically&lt;/span&gt;? &lt;/pre&gt;&#10;&lt;pre class="csharpcode" style="font-size: small; color: black; font-family: Consolas, 'Courier New', Courier, monospace; background-color: #ffffff"&gt; &lt;/pre&gt;&#10;&lt;pre class="csharpcode" style="font-size: small; color: black; font-family: Consolas, 'Courier New', Courier, monospace; background-color: #ffffff"&gt;&lt;span class="Apple-style-span" style="color: #0000ff"&gt;string username = "user";&lt;/span&gt;&lt;/pre&gt;&#10;&lt;pre class="csharpcode" style="font-size: small; color: black; font-family: Consolas, 'Courier New', Courier, monospace; background-color: #ffffff"&gt;&lt;span class="Apple-style-span" style="color: #0000ff"&gt;&lt;span class="Apple-style-span" style="color: #000000"&gt;&lt;/span&gt;string password = "password";&lt;/span&gt;&lt;/pre&gt;&#10;&lt;pre class="csharpcode" style="font-size: small; color: black; font-family: Consolas, 'Courier New', Courier, monospace; background-color: #ffffff"&gt;&lt;span class="Apple-style-span" style="color: #0000ff"&gt;MembershipUser membershipUser = Membership.Providers["SqlMembershipProviderOther"].GetUser(username);&lt;/span&gt;&lt;/pre&gt;&#10;&lt;pre class="csharpcode" style="font-size: small; color: black; font-family: Consolas, 'Courier New', Courier, monospace; background-color: #ffffff"&gt;&lt;span class="Apple-style-span" style="color: #0000ff"&gt;membershipUser.ChangePassword(membershipUser.ResetPassword(), password);&lt;/span&gt;&lt;/pre&gt;&#10;&lt;pre class="csharpcode" style="font-size: small; color: black; font-family: Consolas, 'Courier New', Courier, monospace; background-color: #ffffff"&gt; &lt;/pre&gt;&#10;&lt;pre class="csharpcode" style="font-size: small; color: black; font-family: Consolas, 'Courier New', Courier, monospace; background-color: #ffffff"&gt;Also worth checking out &lt;a href="http://forums.asp.net/p/1128681/1782786/#1782786" target="_blank"&gt;here&lt;/a&gt; &lt;/pre&gt;&#10;&lt;p&gt;&lt;/p&gt;</description></item><item><title>Increase Development by increasing the speed of Visual Studio</title><link>https://bryanavery.co.uk/increase-development-by-increasing-the-speed-of-visual-studio/</link><pubDate>Mon, 10 Nov 2008 08:56:00 +0000</pubDate><guid>https://bryanavery.co.uk/increase-development-by-increasing-the-speed-of-visual-studio/</guid><description>&lt;p&gt;Like Windows Vista, you can perform a number of changes to increase the performance of Visual Studio. &lt;/p&gt;&#10;&lt;ol&gt;&#10;&lt;li&gt;First make sure you have the latests Service Pack installed. &lt;/li&gt;&#10;&lt;li&gt;Under Options, make sure Animation environment tools. &lt;/li&gt;&#10;&lt;li&gt;If you don’t use the Navigation bar, then turn this off. &lt;/li&gt;&#10;&lt;li&gt;Make sure Track changes of off.  In Options, Text Editor and uncheck Track Changes.&lt;/li&gt;&#10;&lt;li&gt;Track Active Item in Solution Explorer, remove this, it can be found in Options, Projects and Solutions.  (Don’t do this for a VB application)&lt;/li&gt;&#10;&lt;li&gt;Disable AutoToolboxPopulate, this is found in Options, Windows Forms Designer&lt;/li&gt;&#10;&lt;li&gt;Disable the Startup screen by selecting Show Empty Environment&lt;/li&gt;&#10;&lt;li&gt;When loading Visual Studio, disable the splash screen “devenv.exe /nosplash”&lt;/li&gt;&#10;&lt;/ol&gt;&#10;&lt;p&gt; &lt;/p&gt;</description></item><item><title>When will .Net 3.5 sp1 be available on all machines?</title><link>https://bryanavery.co.uk/when-will-net-3-5-sp1-be-available-on-all-machines/</link><pubDate>Wed, 05 Nov 2008 12:05:00 +0000</pubDate><guid>https://bryanavery.co.uk/when-will-net-3-5-sp1-be-available-on-all-machines/</guid><description>&lt;p&gt; &lt;/p&gt;&#10;&lt;p style="background-image: initial; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: white"&gt;&lt;span style="font-size: 8.5pt; font-family: Verdana, sans-serif; color: black"&gt;If you are building an application for general release, and would like to build it using .Net 3.5 SP1, it would be nice to know if the end users already have .Net 3.5 SP1.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>What do you need to get SubVersion working in Visual Studio 2008</title><link>https://bryanavery.co.uk/what-do-you-need-to-get-subversion-working-in-visual-studio-2008/</link><pubDate>Tue, 04 Nov 2008 13:20:00 +0000</pubDate><guid>https://bryanavery.co.uk/what-do-you-need-to-get-subversion-working-in-visual-studio-2008/</guid><description>&lt;p&gt;What do you need to get SVN to working within Visual Studio 2008?&lt;/p&gt;&#10;&lt;p&gt;You should only need &lt;a href="http://ankhsvn.open.collab.net/" target="_blank"&gt;AnkhSVN&lt;/a&gt;, as this is an AddIn for Visual Studio 2008.  But it is worth getting T&lt;a href="http://tortoisesvn.tigris.org/" target="_blank"&gt;orroise SVN&lt;/a&gt; to allow for access to SVN via the file manager.&lt;/p&gt;</description></item><item><title>Code Style Enforcer</title><link>https://bryanavery.co.uk/code-style-enforcer/</link><pubDate>Mon, 03 Nov 2008 16:09:00 +0000</pubDate><guid>https://bryanavery.co.uk/code-style-enforcer/</guid><description>&lt;p&gt; &lt;/p&gt;&#10;&lt;p&gt;Make sure your code is styled correctly &lt;/p&gt;&#10;&lt;p&gt;Code Style Enforcer is a DXCore plug-in for Visual Studio 2005 / 2008 that checks the code against a configurable code standard and best practices. It is developed for C#, but some of the rules will also work for VB .NET, though not tested. The code standard is currently configurable with the following rules…[&lt;a href="http://joel.fjorden.se/static.php?page=CodeStyleEnforcer" target="_blank"&gt;more&lt;/a&gt;]&lt;/p&gt;</description></item><item><title>Client Application Services in VS2008</title><link>https://bryanavery.co.uk/client-application-services-in-vs2008/</link><pubDate>Mon, 03 Nov 2008 14:42:00 +0000</pubDate><guid>https://bryanavery.co.uk/client-application-services-in-vs2008/</guid><description>&lt;p&gt;Just ran in to an issue of security when having many web applications.  I needed all the web application to use the same security access, after a little research I found that Client Application Services in VS2008 works a treat, as it has been written to handle security in the cloud.&lt;/p&gt;</description></item><item><title>ZoomIt</title><link>https://bryanavery.co.uk/zoomit/</link><pubDate>Sat, 01 Nov 2008 06:41:00 +0000</pubDate><guid>https://bryanavery.co.uk/zoomit/</guid><description>&lt;p&gt;Can't read what is on the screen, or need to highlight something to someone, you don't have to be running presentation to have this tool.&lt;/p&gt;&#10;&lt;p&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; line-height: 15px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px"&gt;&lt;/span&gt;&lt;/p&gt;&#10;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding: 0px"&gt;ZoomIt is screen zoom and annotation tool for technical presentations that include application demonstrations. ZoomIt runs unobtrusively in the tray and activates with customizable hotkeys to zoom in on an area of the screen, move around while zoomed, and draw on the zoomed image. I wrote ZoomIt to fit my specific needs and use it in all my presentations.&lt;/p&gt;</description></item><item><title>.NET Framework 3.5 SP1 and 4.0 Poster</title><link>https://bryanavery.co.uk/net-framework-3-5-sp1-and-4-0-poster/</link><pubDate>Fri, 31 Oct 2008 17:15:00 +0000</pubDate><guid>https://bryanavery.co.uk/net-framework-3-5-sp1-and-4-0-poster/</guid><description>&lt;p&gt;Here is a list of what is new in .NET 3.5 SP1 and what is to come in .NET 4, also this is a nice example of deep zoom, just zoom in to what you would like to see.&lt;iframe height="400px" src="https://brad_abrams.members.winisp.net/Projects/PDC2008/DotNet4Poster/DotNetFramework4PosterDeepZoom.htm" width="100%"&gt;&lt;/iframe&gt;&lt;/p&gt;</description></item><item><title>App.Config Custom Configuration</title><link>https://bryanavery.co.uk/app-config-custom-configuration/</link><pubDate>Fri, 31 Oct 2008 09:46:00 +0000</pubDate><guid>https://bryanavery.co.uk/app-config-custom-configuration/</guid><description>&lt;p&gt;I wrote this small POC, with a little help from samples around the Internet, to retrieve a custom configuration from the application config file (such as web.config)&lt;/p&gt;&#10;&lt;p&gt;It uses the Microsoft classes &lt;a href="http://msdn.microsoft.com/en-us/library/system.configuration.configurationsection/" rel="noopener noreferrer" target="_blank"&gt;ConfigurationSection&lt;/a&gt;, &lt;a href="http://msdn.microsoft.com/en-us/library/system.configuration.configurationelementcollection/" rel="noopener noreferrer" target="_blank"&gt;ConfigurationElementCollection,&lt;/a&gt;  and &lt;a href="http://msdn.microsoft.com/en-us/library/system.configuration.configurationelement/" rel="noopener noreferrer" target="_blank"&gt;ConfigurationElement&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Is LINQ to SQL about to be killed off?</title><link>https://bryanavery.co.uk/is-linq-to-sql-about-to-be-killed-off/</link><pubDate>Fri, 31 Oct 2008 09:28:00 +0000</pubDate><guid>https://bryanavery.co.uk/is-linq-to-sql-about-to-be-killed-off/</guid><description>&lt;p&gt;Are you developing using LINQ to SQL, and like all good technologies you just want to keep using them, well it looks like Microsoft will be pulling the plug on LINQ to SQL, over the fact the LINQ to Entities will continue forwards in future releases.&lt;/p&gt;</description></item><item><title>LINQ Samples</title><link>https://bryanavery.co.uk/linq-samples/</link><pubDate>Tue, 28 Oct 2008 12:53:00 +0000</pubDate><guid>https://bryanavery.co.uk/linq-samples/</guid><description>&lt;p&gt;I found this very good examples of LINQ samples, I can’t remember where I got it from, so I have upload to my Blog for safe keeping. &lt;/p&gt;&#10;&lt;p&gt;&lt;a href="https://bryanavery.co.uk/file.axd?file=2008/12/LINQ+Samples.zip"&gt;LINQ Samples.zip (4.27 mb)&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;p&gt;I found another LINQ samples which include&lt;/p&gt;&#10;&lt;p&gt; &lt;/p&gt;&#10;&lt;p&gt; &lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;LINQ to Objects&lt;/li&gt;&#10;&lt;li&gt;LINQ to SQL&lt;/li&gt;&#10;&lt;li&gt;LINQ to XML&lt;/li&gt;&#10;&lt;li&gt;LINQ to XML Part II&lt;/li&gt;&#10;&lt;li&gt;LINQ to DataSet&lt;/li&gt;&#10;&lt;li&gt;LINQ to Entities&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt; &lt;/p&gt;&#10;&lt;p&gt; &lt;/p&gt;&#10;&lt;p&gt;I got it from &lt;a href="http://blogs.msdn.com/charlie/archive/2007/03/11/101-linq-samples-code-updated/" target="_blank"&gt;Charlie Calvert’s Community Blog&lt;/a&gt;, and I have placed them here on my Blog for safe keeping. &lt;/p&gt;&#10;&lt;p&gt;&lt;span style="color: #0000ee; text-decoration: underline;"&gt;&lt;span style="color: #000000;"&gt;&lt;a href="https://bryanavery.co.uk/file.axd?file=2009/1/MarchCtpSamples-v04.zip"&gt;MarchCtpSamples-v04.zip (3.78 mb)&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&#10;&lt;/p&gt;</description></item><item><title>New .Net Logo</title><link>https://bryanavery.co.uk/new-net-logo/</link><pubDate>Sun, 26 Oct 2008 13:20:00 +0000</pubDate><guid>https://bryanavery.co.uk/new-net-logo/</guid><description>&lt;p&gt;After 8 years, Microsoft are rebranding .Net, and here is the new Logo&lt;/p&gt;&#10;&lt;p&gt;&lt;img alt="" decoding="async" src="https://bryanavery.co.uk/uploads/2008/10/.net.png"/&gt;&lt;/p&gt;&#10;&lt;p&gt;For more details &lt;a href="http://blogs.msdn.com/msmossyblog/archive/2008/10/25/embrace-the-new-net-logo/" target="_blank"&gt;click here&lt;/a&gt; &lt;/p&gt;</description></item><item><title>DDD7 Registration Is Open</title><link>https://bryanavery.co.uk/ddd7-registration-is-open/</link><pubDate>Wed, 22 Oct 2008 11:53:00 +0000</pubDate><guid>https://bryanavery.co.uk/ddd7-registration-is-open/</guid><description>&lt;p&gt;Registration is now open&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="http://www.developerday.co.uk/ddd/default.asp"&gt;http://www.developerday.co.uk/ddd/default.asp&lt;/a&gt; &lt;/p&gt;&#10;&lt;p&gt;Don't forget it sold out within 24 hours last year&lt;/p&gt;</description></item><item><title>Newsletter Enhancements</title><link>https://bryanavery.co.uk/newsletter-enhancements/</link><pubDate>Tue, 21 Oct 2008 13:10:00 +0000</pubDate><guid>https://bryanavery.co.uk/newsletter-enhancements/</guid><description>&lt;p&gt;After using the BlogEngine Newsletter, I noticed that it was not easy to unsubscribe from the newsletter, so I went to task and produced an enhanced Newsletter so you can unsubscribe from the newletter from the incoming email.&lt;/p&gt;</description></item><item><title>ASP.NET MVC Beta Released</title><link>https://bryanavery.co.uk/asp-net-mvc-beta-released/</link><pubDate>Fri, 17 Oct 2008 07:23:00 +0000</pubDate><guid>https://bryanavery.co.uk/asp-net-mvc-beta-released/</guid><description>&lt;p&gt;Microsoft have release for the Beta version of MVC (Model View Control), it has been around in the community preview release for some time and now it is in it’s final stages before being fully released.&lt;/p&gt;</description></item><item><title>Remote Desktop running slow on Vista</title><link>https://bryanavery.co.uk/remote-desktop-running-slow-on-vista/</link><pubDate>Thu, 16 Oct 2008 05:19:00 +0000</pubDate><guid>https://bryanavery.co.uk/remote-desktop-running-slow-on-vista/</guid><description>&lt;p&gt;Okay, I've been pulling my hair out for the last three days as Remote Desktop is running very slow and timing out on my Vista machine, calls to the host provided and BT have not solved the issue.&lt;/p&gt;</description></item><item><title>Chrome Crashing</title><link>https://bryanavery.co.uk/chrome-crashing/</link><pubDate>Tue, 14 Oct 2008 07:33:00 +0000</pubDate><guid>https://bryanavery.co.uk/chrome-crashing/</guid><description>&lt;p&gt;&lt;img alt="" decoding="async" src="https://bryanavery.co.uk/uploads/2008/10/ChromeCrashing.jpg"/&gt;&lt;/p&gt;&#10;&lt;p&gt;I know Chrome is only in Beta, and so far it has been very reliable, but for some reason today, for no reason it crashed on me, not doing anything special just surfing the web&lt;/p&gt;</description></item><item><title>iPhone Theme for BlogEngine</title><link>https://bryanavery.co.uk/iphone-theme-for-blogengine/</link><pubDate>Mon, 13 Oct 2008 12:23:00 +0000</pubDate><guid>https://bryanavery.co.uk/iphone-theme-for-blogengine/</guid><description>&lt;p&gt;I’ve created a simple iPhone Theme for the BlogEngine, using both Style Sheet, with a few tweeks, from the iUI Project Members, and a simple javaScript accordian by &lt;a href="http://dezinerfolio.com" target="_blank"&gt;dezinerfolio.com&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;img alt="" decoding="async" src="https://bryanavery.co.uk/uploads/2008/10/iPhoneTheme.jpg"/&gt; &lt;/p&gt;&#10;&lt;p&gt;Just places iPhone folder in the Themes directory of the BlogEngine. &lt;/p&gt;</description></item><item><title>Connection Speed</title><link>https://bryanavery.co.uk/connection-speed/</link><pubDate>Mon, 13 Oct 2008 09:37:00 +0000</pubDate><guid>https://bryanavery.co.uk/connection-speed/</guid><description>&lt;p&gt;Wondering if I was running slow today, but no it's not my connection as look what I am running at today &lt;/p&gt;&#10;&lt;p&gt;&lt;a href="http://www.mybroadbandspeed.co.uk"&gt;&lt;img alt="" decoding="async" src="https://www.mybroadbandspeed.co.uk/results/01858368.png"/&gt;&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Free Project Management Gantt Project</title><link>https://bryanavery.co.uk/free-project-management-gantt-project/</link><pubDate>Sun, 12 Oct 2008 15:55:00 +0000</pubDate><guid>https://bryanavery.co.uk/free-project-management-gantt-project/</guid><description>&lt;p&gt;Ever need access to a free Project Manager Gantt Chart application, well I found one today&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="http://ganttproject.biz/" target="_blank"&gt;Gantt Project&lt;/a&gt; &lt;/p&gt;&#10;&lt;p&gt;GanttProject is a free and easy to use Gantt chart based project scheduling and management tool. Our major features include:&lt;/p&gt;</description></item><item><title>Remember, Remember to finish off – When is DONE?</title><link>https://bryanavery.co.uk/remember-remember-to-finish-off-when-is-done/</link><pubDate>Sun, 12 Oct 2008 09:56:00 +0000</pubDate><guid>https://bryanavery.co.uk/remember-remember-to-finish-off-when-is-done/</guid><description>&lt;p&gt;As a developer how often do you say to someone that some development is DONE?&lt;/p&gt;&#10;&lt;p&gt;To you as the developer, in your head, you have covered everything you need to, well you think you have, so it is DONE.  What would the Project Manager say to your work, would it be Done?  But worst of all what would the end users say, what is done to them?&lt;/p&gt;</description></item><item><title>Knowing when something has gone wrong</title><link>https://bryanavery.co.uk/knowing-when-something-has-gone-wrong/</link><pubDate>Thu, 09 Oct 2008 09:45:00 +0000</pubDate><guid>https://bryanavery.co.uk/knowing-when-something-has-gone-wrong/</guid><description>&lt;p&gt;I don't know about you, but when I am looking after a website I like to know if something has gone wrong on the website, mainly so you can fix it as soon as it happens and resolve the issue before the user of the website gets feed up and goes somewhere else.&lt;/p&gt;</description></item><item><title>The Compare Contract</title><link>https://bryanavery.co.uk/the-compare-contract/</link><pubDate>Tue, 07 Oct 2008 09:51:00 +0000</pubDate><guid>https://bryanavery.co.uk/the-compare-contract/</guid><description>&lt;p&gt; &lt;/p&gt;&#10;&lt;p&gt;With the release of .NET FX SP3.5 SP1, comes a bug in the Compare Contract, so watch out when you are coding for the IComparable interface.&lt;/p&gt;&#10;&lt;p&gt;Full details can be found on the &lt;a href="http://blogs.msdn.com/bclteam/archive/2008/10/06/the-compare-contract-kim-hamilton/" target="_blank"&gt;Microsoft BCL Team Blog&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Time Breakdown of Modern Web Design</title><link>https://bryanavery.co.uk/time-breakdown-of-modern-web-design/</link><pubDate>Sun, 05 Oct 2008 08:43:00 +0000</pubDate><guid>https://bryanavery.co.uk/time-breakdown-of-modern-web-design/</guid><description>&lt;p&gt;&lt;img alt="" decoding="async" src="https://bryanavery.co.uk/uploads/2008/10/breakdown.png"/&gt;&lt;/p&gt;</description></item><item><title>Testing using Virtual Server</title><link>https://bryanavery.co.uk/testing-using-virtual-server/</link><pubDate>Wed, 01 Oct 2008 10:10:00 +0000</pubDate><guid>https://bryanavery.co.uk/testing-using-virtual-server/</guid><description>&lt;p&gt;For sometime now I have been using Microsoft Virtual Server to perform testing, it's easy to rebuild and easy to configure.&lt;/p&gt;&#10;&lt;p&gt; I found this useful article from Microsoft on &lt;a href="http://msdn.microsoft.com/en-us/magazine/cc793968/?pr=blog" target="_blank"&gt;Test Run: Configuration Testing with Virtual Server&lt;/a&gt;&lt;/p&gt;</description></item><item><title>jQuery is here</title><link>https://bryanavery.co.uk/jquery-is-here/</link><pubDate>Tue, 30 Sep 2008 13:02:00 +0000</pubDate><guid>https://bryanavery.co.uk/jquery-is-here/</guid><description>&lt;p&gt;&lt;a href="http://jquery.com/" target="_blank"&gt;&lt;img alt="jQuery" decoding="async" src="https://bryanavery.co.uk/uploads/jQuery.jpg"/&gt;&lt;/a&gt;&lt;/p&gt;&#10;&lt;div&gt;Microsoft has have release &lt;a href="http://jquery.com/" target="_blank"&gt;jQuery&lt;/a&gt; with all versions of Micrsoft Visual Studio from here on in.  With the added support for Intellisense within Visual Studio.&lt;/div&gt;&#10;&lt;div&gt; &lt;/div&gt;&#10;&lt;div&gt;Check here for the official details:&lt;/div&gt;&#10;&lt;div&gt; &lt;/div&gt;&#10;&lt;div&gt;&lt;a href="http://weblogs.asp.net/scottgu/archive/2008/09/28/jquery-and-microsoft/" target="_blank"&gt;jQuery and Microsoft&lt;/a&gt; &lt;/div&gt;&#10;&lt;div&gt; &lt;/div&gt;&#10;&lt;div&gt;&lt;a href="http://jquery.com/blog/2008/09/28/jquery-microsoft-nokia/" target="_blank"&gt;jQuery, Microsoft, and Nokia&lt;/a&gt;&lt;/div&gt;&#10;&lt;div&gt; &lt;/div&gt;&#10;&lt;div&gt;For more information on &lt;a href="http://jquery.com/" target="_blank"&gt;jQuery&lt;/a&gt; check out the offical website&lt;/div&gt;&#10;&lt;div&gt; &lt;/div&gt;&#10;&lt;div&gt;Example of &lt;a href="http://codylindley.com/jqueryselectors/" target="_blank"&gt;jQuery Selector&lt;/a&gt; &lt;/div&gt;&#10;&lt;div&gt; &lt;/div&gt;&#10;&lt;div&gt;All sounds very exciting. &lt;/div&gt;&#10;&lt;div&gt;&lt;/div&gt;</description></item><item><title>BlogEngine Maintenance</title><link>https://bryanavery.co.uk/blogengine-maintenance/</link><pubDate>Sun, 28 Sep 2008 08:53:00 +0000</pubDate><guid>https://bryanavery.co.uk/blogengine-maintenance/</guid><description>&lt;p&gt;One thing I have found frustrating about the BlogEngine, when you are developing is I have to go on the the server to recycle the application pool if I need to refresh the object loaded in memory.&lt;/p&gt;</description></item><item><title>Web 3.0</title><link>https://bryanavery.co.uk/web-3-0/</link><pubDate>Fri, 26 Sep 2008 09:38:00 +0000</pubDate><guid>https://bryanavery.co.uk/web-3-0/</guid><description>&lt;p&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; color: #222222; font-family: arial; font-size: 13px"&gt;&lt;/span&gt;&lt;/p&gt;&#10;&lt;div&gt;What is next after Web 2.0?  It's got to be Web 3.0 but what is it?  &lt;span style="font-size: 10pt; line-height: 115%; font-family: Arial, sans-serif; color: #222222"&gt;Officially &lt;/span&gt;it is &lt;a href="http://en.wikipedia.org/wiki/Semantic_Web" target="_blank"&gt;Semantic Web.&lt;/a&gt;  The semantic web is relatively unknown to most people and some of the technologies are very complex to understand.&lt;/div&gt;&#10;&lt;div&gt;&lt;/div&gt;&#10;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #000000"&gt;Technologies or formats such as &lt;a href="http://www.foaf-project.org/" style="color: #0000cc" target="_blank"&gt;FOAF&lt;/a&gt;, &lt;a href="http://www.apml.org/" style="color: #0000cc" target="_blank"&gt;APML&lt;/a&gt;, &lt;a href="http://sioc-project.org/" style="color: #0000cc" target="_blank"&gt;SIOC&lt;/a&gt;, &lt;a href="http://www.gmpg.org/xfn/" style="color: #0000cc" target="_blank"&gt;XFN tags&lt;/a&gt; and &lt;a href="http://microformats.org/" style="color: #0000cc" target="_blank"&gt;microformats &lt;/a&gt;are some of the building blocks of the social aspects of the semantic web. They are used to create cross-site profiles of people and also represent relationships between them. XFN and microformats are somewhat easy to start using, but FOAF, APML and SIOC are a different story.&lt;/span&gt;&lt;/div&gt;&#10;&lt;div&gt; &lt;/div&gt;&#10;&lt;div&gt;As time goes on I will try to explain each format and how it can be implemented. &lt;/div&gt;&#10;&lt;p&gt;&lt;/p&gt;</description></item><item><title>Speed up the Copy process on Windows Vista</title><link>https://bryanavery.co.uk/speed-up-the-copy-process-on-windows-vista/</link><pubDate>Fri, 26 Sep 2008 09:35:00 +0000</pubDate><guid>https://bryanavery.co.uk/speed-up-the-copy-process-on-windows-vista/</guid><description>&lt;div&gt;Maybe you have already encountered the strange behavior that it takes much longer to copy large files in Windows Vista than in Windows XP. You thought that the change from XP to Vista would at least be not a disadvantage speed wise but Vista somehow seems to have a problem copying large files. This happens especially with mapped drives but it could also be that you witness network disconnects.&lt;/div&gt;&#10;&lt;div&gt;&lt;/div&gt;&#10;&lt;div&gt;The problem is caused by a new feature called Auto Tuning which is by default enabled in Microsoft Windows Vista. What Auto Tuning does is that it reacts on changes in the network by tuning the receive windows size. The solution would be of course to disable Auto Tuning in Vista. Some users reported that disabling Auto Tuning had a positive effect on their ability to connect to services such as Windows Live Messenger which did not work before.&lt;/div&gt;&#10;&lt;div&gt;&lt;/div&gt;&#10;&lt;div&gt;To disable Auto Tuning and speed up the copy process and avoid timeouts and disconnects do the following:&lt;/div&gt;&#10;&lt;div&gt;&lt;/div&gt;&#10;&lt;div&gt;Open a command prompt and type the following: &lt;/div&gt;&#10;&lt;div&gt;&lt;/div&gt;&#10;&lt;div&gt;&lt;span style="font-weight: bold"&gt;netsh int tcp set global autotuninglevel=disabled&lt;/span&gt;&lt;/div&gt;&#10;&lt;div&gt;&lt;/div&gt;&#10;&lt;div&gt;To turn it on again: &lt;/div&gt;&#10;&lt;div&gt;&lt;/div&gt;&#10;&lt;div&gt;&lt;span style="font-weight: bold"&gt;netsh int tcp set global autotuninglevel=normal&lt;/span&gt;&lt;/div&gt;&#10;&lt;div&gt; &lt;/div&gt;&#10;&lt;h2&gt;Cancel some of Windows Vista Effects&lt;br/&gt;&lt;/h2&gt;&#10;&lt;div&gt;&lt;img alt="" decoding="async" src="https://bryanavery.co.uk/uploads/windowslivewriter5tipstospeedupwindowsvista-1167fwindows-vista-special-effects-2.jpg"/&gt;&lt;/div&gt;&#10;&lt;div&gt;Disabling some of Windows Vista’s Visual effect will make your Video Card and CPU very grateful. Do the following:&lt;/div&gt;&#10;&lt;div&gt; &lt;/div&gt;&#10;&lt;blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-width: initial; border-color: initial; border-style: none; padding: 0px"&gt;&lt;p&gt;1. Open Control Panel.&lt;br/&gt; 2. Click on ‘System and Maintenance’.&lt;br/&gt; 3. Click “Performance Information and Tools”.&lt;br/&gt; 4. Click “Adjust Visual Effects”.&lt;/p&gt;&lt;/blockquote&gt;</description></item><item><title>How do you convert a string into an enum?</title><link>https://bryanavery.co.uk/how-do-you-convert-a-string-into-an-enum/</link><pubDate>Thu, 25 Sep 2008 17:05:00 +0000</pubDate><guid>https://bryanavery.co.uk/how-do-you-convert-a-string-into-an-enum/</guid><description>&lt;p&gt;&lt;span class="Apple-style-span" style="color: #666666; line-height: 16px"&gt;&lt;/span&gt;&lt;/p&gt;&#10;&lt;p style="margin-top: 10px; margin-right: 15px; margin-bottom: 0px; margin-left: 0px; padding: 0px"&gt;I've come across the situation on a number of occasions when coding where I've wanted to convert from a string to an enum.&lt;/p&gt;</description></item><item><title>DateTime Format</title><link>https://bryanavery.co.uk/datetime-format/</link><pubDate>Sat, 20 Sep 2008 15:47:00 +0000</pubDate><guid>https://bryanavery.co.uk/datetime-format/</guid><description>&lt;p&gt;&lt;span style="font-family: '-webkit-sans-serif'; font-size: 13px; line-height: 19px"&gt;&lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;I’m always searching the internet for DateTime formats, so I’ve placed them in my Blog so I’ll also know where I can find them&lt;/p&gt;&#10;&lt;h2&gt;DateTime Format Specifiers&lt;br/&gt;&lt;/h2&gt;&#10;&lt;p style="margin-top: 0.4em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; line-height: 1.5em"&gt;Below lists the valid format specifiers supported by the &lt;code&gt;Format&lt;/code&gt; method on the&lt;code&gt;DateTime&lt;/code&gt; type (see &lt;code&gt;System.IFormattable&lt;/code&gt;).&lt;/p&gt;</description></item><item><title>Software Requirements</title><link>https://bryanavery.co.uk/software-requirements/</link><pubDate>Sat, 20 Sep 2008 07:01:00 +0000</pubDate><guid>https://bryanavery.co.uk/software-requirements/</guid><description>&lt;p&gt;&lt;img alt="" decoding="async" src="https://bryanavery.co.uk/uploads/dilbertsoftwarerequirements.jpg"/&gt;&lt;/p&gt;</description></item><item><title>The Swing</title><link>https://bryanavery.co.uk/the-swing/</link><pubDate>Sat, 20 Sep 2008 06:59:00 +0000</pubDate><guid>https://bryanavery.co.uk/the-swing/</guid><description>&lt;p&gt;Just loved this cartoon, they always say a picture says a thousand words &lt;/p&gt;&#10;&lt;p&gt;&lt;img alt="" decoding="async" src="https://bryanavery.co.uk/uploads/PM_Build_Swing.gif"/&gt;&lt;/p&gt;</description></item><item><title>Embed Picasa slideshows into BlogEngine.net</title><link>https://bryanavery.co.uk/embed-picasa-slideshows-into-blogengine-net/</link><pubDate>Mon, 15 Sep 2008 17:30:00 +0000</pubDate><guid>https://bryanavery.co.uk/embed-picasa-slideshows-into-blogengine-net/</guid><description>&lt;p&gt;I was having a problem embedding a slide show from Picasa into my BlogEngine.net editor. Basically, the editor kept stripping the embed html.  The trick is to edit \admin\tinyMCE.ascx file.  You need to modify the extended_valid_elements entry. Apparently this is used to define valid html tags for the tinyMCE editor. Here are my additions in &lt;font color="#ff0000"&gt;red&lt;/font&gt;: &lt;/p&gt;</description></item><item><title>Visual Studio, which version?</title><link>https://bryanavery.co.uk/visual-studio-which-version/</link><pubDate>Mon, 08 Sep 2008 08:55:00 +0000</pubDate><guid>https://bryanavery.co.uk/visual-studio-which-version/</guid><description>&lt;p&gt;&#10;What version of Visual Studio is the most current?&#10;&lt;/p&gt;&#10;&lt;p&gt;&#10;Depending on what you are using and which application you are modifing the following are the latest releases of Visual Studio:&#10;&lt;/p&gt;&#10;&lt;li&gt;&lt;strong&gt;Visual Studio 6 (Used for the Legacy VB/C++ apps).&lt;/strong&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Latest build is 9782 and this corresponds to Visual Studio 6.0 SP6. &lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Visual Studio 2003&lt;/strong&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Version 7.1.6030. This corresponds to VS2003 SP1 and is a &lt;strong&gt;&lt;font color="#ff0000"&gt;MANDATORY&lt;/font&gt;&lt;/strong&gt; install. If you don't have it install it now. &lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Visual Studio 2005&lt;/strong&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Version 8.0.50727,762 (SP). This corresponds to VS2005 SP1 and is a &lt;strong&gt;&lt;font color="#ff0000"&gt;MANDATORY&lt;/font&gt;&lt;/strong&gt; install. If you don't have it install it now. It can also take over an hour to install. &lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Visual Studio 2008&lt;/strong&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Version 9.0.21022.8 RTM. This corresponds to the RTM release so if you have VS2008 you have this build. &lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;</description></item><item><title>Bottlenecks and Monitoring</title><link>https://bryanavery.co.uk/bottlenecks-and-monitoring/</link><pubDate>Wed, 30 Jul 2008 10:59:00 +0000</pubDate><guid>https://bryanavery.co.uk/bottlenecks-and-monitoring/</guid><description>&lt;p&gt;&#10;I've come across this fab system monitoring tool, Spotlight for Windows&#10;&lt;/p&gt;&#10;&lt;p&gt;&#10;Spotlight on Windows empowers you to quickly identify and eliminate bottlenecks in the Windows environment&#10;&lt;/p&gt;&#10;&lt;p&gt;&#10;For a busy IT professional, it is nearly impossible to diagnose, troubleshoot, and resolve every component affecting Windows Operating System (OS) performance using manual methods. Without a clear view of I/O and system activity, you learn of performance issues only after problems erupt.&#10;&lt;/p&gt;</description></item><item><title>Examples of using System.Data.ParameterDirection with Sql Server</title><link>https://bryanavery.co.uk/examples-of-using-system-data-parameterdirection-with-sql-server/</link><pubDate>Wed, 30 Jul 2008 09:00:00 +0000</pubDate><guid>https://bryanavery.co.uk/examples-of-using-system-data-parameterdirection-with-sql-server/</guid><description>&lt;p&gt;When working with the SqlCommand you will no doubt have to supply parameters to your command whether it be a Stored Procedure or Text command.  Although not as efficient as an actual Stored Procedure there are some powerful things you can achieve using the System.Data.ParameterDirection, or rather other than just &lt;strong&gt;Input.&lt;/strong&gt; &lt;/p&gt;</description></item><item><title>C# DateTime.MinValue is not the same as SqlDateTime.MinValue</title><link>https://bryanavery.co.uk/c-datetime-minvalue-is-not-the-same-as-sqldatetime-minvalue/</link><pubDate>Fri, 25 Jul 2008 07:35:00 +0000</pubDate><guid>https://bryanavery.co.uk/c-datetime-minvalue-is-not-the-same-as-sqldatetime-minvalue/</guid><description>&lt;p&gt;Working with non-nullable types in C# can be a bit of a pain. For instance when I have a date as a string and need to parse it into a DateTime what should the value be if the parse fails? I can’t use null because DateTime is not a nullable type.&lt;/p&gt;</description></item><item><title>How to debug stored procedures in Visual Studio .NET</title><link>https://bryanavery.co.uk/how-to-debug-stored-procedures-in-visual-studio-net/</link><pubDate>Thu, 24 Jul 2008 13:36:00 +0000</pubDate><guid>https://bryanavery.co.uk/how-to-debug-stored-procedures-in-visual-studio-net/</guid><description>&lt;h3 class="subTitle" id="tocHeadRef"&gt;SUMMARY&lt;/h3&gt;&#10;&lt;p&gt;&lt;/p&gt;&#10;&lt;div class="sbody"&gt;&#10;This step-by-step article explains two ways that you can debug SQL Server stored procedures and the necessary configuration settings and steps for each approach. &#10;&lt;p&gt;A Visual Studio .NET developer can use the Server Explorer to debug SQL Server stored procedures independently of any Visual Studio project, or the developer can step into the code of the stored procedure directly from managed code in a Visual Basic, Visual C#, or Visual J# project.&#10;&lt;/p&gt;&lt;/div&gt;</description></item><item><title>Best Windows Backup Tool</title><link>https://bryanavery.co.uk/best-windows-backup-tool/</link><pubDate>Sat, 19 Jul 2008 10:19:00 +0000</pubDate><guid>https://bryanavery.co.uk/best-windows-backup-tool/</guid><description>&lt;p&gt;&#10;Carbonite&#10;&lt;/p&gt;&#10;&lt;p&gt;&#10;&lt;img alt="" decoding="async" fetchpriority="high" height="297" src="https://bryanavery.co.uk/uploads/untitled.bmp" width="494"/&gt;&#10;&lt;/p&gt;&#10;&lt;p&gt;&#10;Well I've been using Carbonite for over 2 years now and with almost 100Gbs backed up online it can't be bad.  Carbonite runs in the background all the time, so it is always backing up your data files.  It's a don't worry type of backup, just install it and leave it.&#10;&lt;/p&gt;</description></item><item><title>GhostDoc</title><link>https://bryanavery.co.uk/ghostdoc/</link><pubDate>Wed, 16 Jul 2008 11:53:00 +0000</pubDate><guid>https://bryanavery.co.uk/ghostdoc/</guid><description>&lt;p&gt;&#10;GhostDoc is a free add-in for Visual Studio that automatically generates XML documentation comments for C#. Either by using existing documentation inherited from base classes or implemented interfaces, or by deducing comments from name and type of e.g. methods, properties or parameters.&#10;&lt;/p&gt;</description></item><item><title>Structure to Stored Procedure</title><link>https://bryanavery.co.uk/structure-to-stored-procedure/</link><pubDate>Wed, 16 Jul 2008 10:21:00 +0000</pubDate><guid>https://bryanavery.co.uk/structure-to-stored-procedure/</guid><description>&lt;p&gt;Everywhere I go from client to client I find that when developers create Stored Procedures that just perform the task in hand, and I so often find that no exception handling, comments or transaction based handling has been put in place.  So with all this in mind I set to write a structured Stored Procedure to be used as a template for future Stored Procedures that I create.&lt;/p&gt;</description></item><item><title>The SqlCommand Object</title><link>https://bryanavery.co.uk/the-sqlcommand-object/</link><pubDate>Wed, 09 Jul 2008 08:05:00 +0000</pubDate><guid>https://bryanavery.co.uk/the-sqlcommand-object/</guid><description>&lt;p&gt;&#10;I found this article on &lt;a href="http://www.csharp-station.com/Tutorials/AdoDotNet/Lesson03/" target="_blank"&gt;csharp station&lt;/a&gt;, as a very good insight in to the SqlCommand object, enjoy: &#10;&lt;/p&gt;&#10;&lt;p&gt;&#10;This lesson describes the SqlCommand object and how you use it to interact with a data base.  Here are the objectives of this lesson:&#10;&lt;/p&gt;</description></item><item><title>Determine the Connection Speed of your client</title><link>https://bryanavery.co.uk/determine-the-connection-speed-of-your-client/</link><pubDate>Tue, 08 Jul 2008 08:44:00 +0000</pubDate><guid>https://bryanavery.co.uk/determine-the-connection-speed-of-your-client/</guid><description>&lt;p&gt;&#10;How many times have you written the perfect application, you spend hours getting it right, only to be told it is running slow.  You have performed all the &lt;a href="https://bryanavery.co.uk/post/2008/07/03/10-Tips-for-Writing-High-Performance-Web-Applications/" target="_blank"&gt;Performance Tuning&lt;/a&gt;, and you still get the users saying it is running slowly.&#10;&lt;/p&gt;</description></item><item><title>10 Tips for Writing High-Performance Web Applications</title><link>https://bryanavery.co.uk/10-tips-for-writing-high-performance-web-applications/</link><pubDate>Thu, 03 Jul 2008 09:51:00 +0000</pubDate><guid>https://bryanavery.co.uk/10-tips-for-writing-high-performance-web-applications/</guid><description>&lt;div class="MTPS_CollapsibleRegion" id="ctl00_ContentPlaceHolder1_cpe122754"&gt;&#10;&lt;div class="CollapseRegionLink" id="ctl00_ContentPlaceHolder1_cpe122754_h"&gt;Writing a Web application with ASP.NET is unbelievably easy. So easy, many developers don’t take the time to structure their applications for great performance. In this article, I’m going to present 10 tips for writing high-performance Web apps. I’m not limiting my comments to ASP.NET applications because they are just one subset of Web applications. This article won’t be the definitive guide for performance-tuning Web applications—an entire book could easily be devoted to that. Instead, think of this as a good place to start.&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;div class="ArticleNormalPara"&gt;Before becoming a workaholic, I used to do a lot of rock climbing. Prior to any big climb, I’d review the route in the guidebook and read the recommendations made by people who had visited the site before. But, no matter how good the guidebook, you need actual rock climbing experience before attempting a particularly challenging climb. Similarly, you can only learn how to write high-performance Web applications when you’re faced with either fixing performance problems or running a high-throughput site.&lt;/div&gt;&#10;&lt;div class="ArticleNormalPara"&gt;My personal experience comes from having been an infrastructure Program Manager on the ASP.NET team at Microsoft, running and managing &lt;a href="http://www.asp.net/"&gt;www.asp.net&lt;/a&gt;, and helping architect Community Server, which is the next version of several well-known ASP.NET applications (ASP.NET Forums, .Text, and nGallery combined into one platform). I’m sure that some of the tips that have helped me will help you as well.&lt;/div&gt;&#10;&lt;div class="ArticleNormalPara"&gt;You should think about the separation of your application into logical tiers. You might have heard of the term 3-tier (or &lt;em&gt;n&lt;/em&gt;-tier) physical architecture. These are usually prescribed architecture patterns that physically divide functionality across processes and/or hardware. As the system needs to scale, more hardware can easily be added. There is, however, a performance hit associated with process and machine hopping, thus it should be avoided. So, whenever possible, run the ASP.NET pages and their associated components together in the same application.&lt;/div&gt;&#10;&lt;div class="ArticleNormalPara"&gt;Because of the separation of code and the boundaries between tiers, using Web services or remoting will decrease performance by 20 percent or more.&lt;/div&gt;&#10;&lt;div class="ArticleNormalPara"&gt;The data tier is a bit of a different beast since it is usually better to have dedicated hardware for your database. However, the cost of process hopping to the database is still high, thus performance on the data tier is the first place to look when optimizing your code.&lt;/div&gt;&#10;&lt;div class="ArticleNormalPara"&gt;Before diving in to fix performance problems in your applications, make sure you profile your applications to see exactly where the problems lie. Key performance counters (such as the one that indicates the percentage of time spent performing garbage collections) are also very useful for finding out where applications are spending the majority of their time. Yet the places where time is spent are often quite unintuitive.&lt;/div&gt;&#10;&lt;div class="ArticleNormalPara"&gt;There are two types of performance improvements described in this article: large optimizations, such as using the ASP.NET Cache, and tiny optimizations that repeat themselves. These tiny optimizations are sometimes the most interesting. You make a small change to code that gets called thousands and thousands of times. With a big optimization, you might see overall performance take a large jump. With a small one, you might shave a few milliseconds on a given request, but when compounded across the total requests per day, it can result in an enormous improvement.&lt;/div&gt;&#10;&lt;div class="ContentSeparator"&gt;&lt;/div&gt;&#10;&lt;h3 class="ArticleTypeTitle" id="S1"&gt;Performance on the Data Tier&lt;/h3&gt;&#10;&lt;div class="ArticleNormalPara"&gt;When it comes to performance-tuning an application, there is a single litmus test you can use to prioritize work: does the code access the database? If so, how often? Note that the same test could be applied for code that uses Web services or remoting, too, but I’m not covering those in this article.&lt;/div&gt;&#10;&lt;div class="ArticleNormalPara"&gt;If you have a database request required in a particular code path and you see other areas such as string manipulations that you want to optimize first, stop and perform your litmus test. Unless you have an egregious performance problem, your time would be better utilized trying to optimize the time spent in and connected to the database, the amount of data returned, and how often you make round-trips to and from the database.&lt;/div&gt;&#10;&lt;div class="ArticleNormalPara"&gt;With that general information established, let’s look at ten tips that can help your application perform better. I’ll begin with the changes that can make the biggest difference.&lt;/div&gt;&#10;&lt;div class="ContentSeparator"&gt;&lt;/div&gt;&#10;&lt;h4 class="ArticleTypeTitle" id="S2"&gt;Tip 1—Return Multiple Resultsets&lt;/h4&gt;&#10;&lt;div class="ArticleNormalPara"&gt;Review your database code to see if you have request paths that go to the database more than once. Each of those round-trips decreases the number of requests per second your application can serve. By returning multiple resultsets in a single database request, you can cut the total time spent communicating with the database. You’ll be making your system more scalable, too, as you’ll cut down on the work the database server is doing managing requests.&lt;/div&gt;&#10;&lt;div class="ArticleNormalPara"&gt;While you can return multiple resultsets using dynamic SQL, I prefer to use stored procedures. It’s arguable whether business logic should reside in a stored procedure, but I think that if logic in a stored procedure can constrain the data returned (reduce the size of the dataset, time spent on the network, and not having to filter the data in the logic tier), it’s a good thing.&lt;/div&gt;&#10;&lt;div class="ArticleNormalPara"&gt;Using a SqlCommand instance and its ExecuteReader method to populate strongly typed business classes, you can move the resultset pointer forward by calling NextResult. &lt;strong&gt;Figure 1&lt;/strong&gt; shows a sample conversation populating several ArrayLists with typed classes. Returning only the data you need from the database will additionally decrease memory allocations on your server.&lt;/div&gt;&#10;&lt;div class="CollapseRegionLink"&gt;Figure 1 Extracting Multiple Resultsets from a DataReader&lt;/div&gt;&#10;&lt;div class="CollapseRegionLink"&gt;// read the first resultset&lt;br/&gt; reader = command.ExecuteReader();&#10;&lt;p&gt; // read the data from that resultset&lt;br/&gt; while (reader.Read()) {&lt;br/&gt;     suppliers.Add(PopulateSupplierFromIDataReader( reader ));&lt;br/&gt; }&lt;/p&gt;&#10;&lt;p&gt; // read the next resultset&lt;br/&gt; reader.NextResult();&lt;/p&gt;&#10;&lt;p&gt; // read the data from that second resultset&lt;br/&gt; while (reader.Read()) {&lt;br/&gt;     products.Add(PopulateProductFromIDataReader( reader ));&lt;br/&gt; }&lt;/p&gt;&lt;/div&gt;</description></item><item><title>Server Side Viewstate</title><link>https://bryanavery.co.uk/server-side-viewstate/</link><pubDate>Fri, 27 Jun 2008 16:07:00 +0000</pubDate><guid>https://bryanavery.co.uk/server-side-viewstate/</guid><description>&lt;p&gt;&#10;&lt;strong&gt;Background&lt;/strong&gt;&#10;&lt;/p&gt;&#10;&lt;p&gt;&#10;ViewState is a feature provided by ASP.Net that stores information for server controls used on a web page. The primary advantage of this feature from a developer perspective is that it keeps the values of controls on a form. If the user forgot a single required field on a form, ASP.Net can put back the other values they had entered rather than forcing the developer to repopulate them. The information is encoded into a string and placed in a hidden form field called “__VIEWSTATE” that is sent to the client with the response (you can see this by using View Source in your browser when you view a / page). ASP.Net by default also calculates a “hash” of the information and adds it to the ViewState, then on a postback it can validate that the data has not been corrupted. That is a basic description of what viewstate is and how it is implemented, this article will focus on where the viewstate information is stored.&#10;&lt;/p&gt;</description></item><item><title>NVARCHAR versus VARCHAR</title><link>https://bryanavery.co.uk/nvarchar-versus-varchar/</link><pubDate>Fri, 27 Jun 2008 10:34:00 +0000</pubDate><guid>https://bryanavery.co.uk/nvarchar-versus-varchar/</guid><description>&lt;p&gt;SQL Server provides both datatypes to store character information. For the most part the two datatypes are identical in how you would work with them within SQL Server or from an application. The difference is that nvarchar is used to store unicode data, which is used to store multilingual data in your database tables. Other languages have an extended set of character codes that need to be saved and this datatype allows for this extension. If your database will not be storing multilingual data you should use the varchar datatype instead. The reason for this is that nvarchar takes twice as much space as varchar, this is because of the need to store the extended character codes for other languages &lt;/p&gt;</description></item><item><title>HTML Editor</title><link>https://bryanavery.co.uk/html-editor/</link><pubDate>Wed, 25 Jun 2008 12:01:00 +0000</pubDate><guid>https://bryanavery.co.uk/html-editor/</guid><description>&lt;p&gt;I’ve been doing a little research on the use of an HTML Editor for development of internal project, using ASP.NET&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Aloha Editor &lt;a href="http://www.aloha-editor.org/" target="_blank"&gt;(http://www.aloha-editor.org&lt;/a&gt;)&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;&#10;&lt;p&gt;This HTML editor is the bees knees, take a look at the website and check it out, it fantastic&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>CSV file parser and writer in C# (Part 3)</title><link>https://bryanavery.co.uk/csv-file-parser-and-writer-in-c-part-3/</link><pubDate>Thu, 12 Jun 2008 09:12:00 +0000</pubDate><guid>https://bryanavery.co.uk/csv-file-parser-and-writer-in-c-part-3/</guid><description>&lt;div class="serendipity_entry_body"&gt;This is the last part of an article series exploring reading and writing CSV files with C#/.NET.&#10;&lt;p&gt;&lt;a href="https://bryanavery.co.uk/post/2008/06/12/CSV-file-parser-and-writer-in-C-(Part-1)/"&gt;Part 1&lt;/a&gt; covered converting the contents of a DataTable into CSV format. &lt;a href="https://bryanavery.co.uk/post/2008/06/12/CSV-file-parser-and-writer-in-C-(Part-2)/"&gt;Part 2&lt;/a&gt; explained how to read a CSV file back into a DataTable.&lt;/p&gt;&#10;&lt;p&gt;Finally we will look at some test cases for use with &lt;a href="http://www.nunit.org/"&gt;NUnit&lt;/a&gt;, a very important tool that I'll describe in more detail in an upcoming article. There is quite a bit of code, but it is all very simple and easy to understand. Each method marked with [Test] will be called by NUnit and run one of the CSV related methods in turn. Assert statements will then check if the returned values are valid or not. &lt;/p&gt;&lt;/div&gt;</description></item><item><title>CSV file parser and writer in C# (Part 2)</title><link>https://bryanavery.co.uk/csv-file-parser-and-writer-in-c-part-2/</link><pubDate>Thu, 12 Jun 2008 09:07:00 +0000</pubDate><guid>https://bryanavery.co.uk/csv-file-parser-and-writer-in-c-part-2/</guid><description>&lt;div class="serendipity_entry_body"&gt;This is the second part of an article series exploring reading and writing CSV files with C#/.NET.&#10;&lt;p&gt;&lt;a href="https://bryanavery.co.uk/post/2008/06/12/CSV-file-parser-and-writer-in-C-(Part-1)/"&gt;Part 1&lt;/a&gt; covered converting the contents of a DataTable into CSV format; this part explains reading a CSV file back into a DataTable.&lt;/p&gt;&lt;/div&gt;</description></item><item><title>CSV file parser and writer in C# (Part 1)</title><link>https://bryanavery.co.uk/csv-file-parser-and-writer-in-c-part-1/</link><pubDate>Thu, 12 Jun 2008 09:05:00 +0000</pubDate><guid>https://bryanavery.co.uk/csv-file-parser-and-writer-in-c-part-1/</guid><description>&lt;div class="serendipity_entry_body"&gt;An issue that comes up quite frequently is how to read and write comma seperated value (CSV) files in C#. Surprisingly the .NET libraries have no built-in support for this, and the usual solution to use an OleDb connection to the CSV file with Microsoft Excel's database driver is convoluted and not cross-platform.&#10;&lt;p&gt;CSV files have a very simple structure (&lt;a href="http://www.creativyst.com/Doc/Articles/CSV/CSV01.htm#FileFormat"&gt;source&lt;/a&gt;): &lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Each record is one line (with exceptions) &lt;/li&gt;&#10;&lt;li&gt;Fields are separated with commas &lt;/li&gt;&#10;&lt;li&gt;Leading and trailing space-characters adjacent to comma field separators are ignored &lt;/li&gt;&#10;&lt;li&gt;Fields with embedded commas must be delimited with double-quote characters &lt;/li&gt;&#10;&lt;li&gt;Fields that contain double quote characters must be surounded by double-quotes, and the embedded double-quotes must each be represented by a pair of consecutive double quotes. &lt;/li&gt;&#10;&lt;li&gt;A field that contains embedded line-breaks must be surounded by double-quotes &lt;/li&gt;&#10;&lt;li&gt;Fields with leading or trailing spaces must be delimited with double-quote characters &lt;/li&gt;&#10;&lt;li&gt;Fields may always be delimited with double quotes &lt;/li&gt;&#10;&lt;li&gt;The first record in a CSV file may be a header record containing column (field) names&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;In this article, I'll provide simple, but fully functional code to read and write a CSV file according to these rules. In memory, data will be represented as a DataTable, which makes it easy to process; for storage in the file system or transfer over a network the CSV data will be stored as a String or in a Stream.&lt;/p&gt;&lt;/div&gt;</description></item><item><title>Using BlogEngine.net as a General Purpose Content Management System</title><link>https://bryanavery.co.uk/using-blogengine-net-as-a-general-purpose-content-management-system/</link><pubDate>Fri, 30 May 2008 14:32:00 +0000</pubDate><guid>https://bryanavery.co.uk/using-blogengine-net-as-a-general-purpose-content-management-system/</guid><description>&lt;p&gt;So I keep running into the same problem – I am building a small website for somebody and I need to provide them with a way to update the content of their site so I don’t have to. Basically, I need a lightweight and flexible content management system that is easy to use.&lt;/p&gt;</description></item><item><title>Wiki</title><link>https://bryanavery.co.uk/wiki/</link><pubDate>Tue, 27 May 2008 08:52:00 +0000</pubDate><guid>https://bryanavery.co.uk/wiki/</guid><description>&lt;p&gt;&#10;I've been after creating a Wiki for some time, and I think I may have found one worth looking at 'Screw Turn', not the most inspiring name but I have read good reviews, so I'll be having a look in my spare time at what it can do and how I can implement it &lt;strong&gt;&lt;font color="#0067c6"&gt;&lt;a href="http://www.screwturn.eu" target="_blank"&gt;www.screwturn.eu&lt;/a&gt;&lt;/font&gt;&lt;/strong&gt;&#10;&lt;/p&gt;</description></item><item><title>Resume now available online</title><link>https://bryanavery.co.uk/resume-now-available-online/</link><pubDate>Mon, 26 May 2008 15:02:00 +0000</pubDate><guid>https://bryanavery.co.uk/resume-now-available-online/</guid><description>&lt;p&gt;&#10;My Latests Resume is now available online in both HTML and Word format&#10;&lt;/p&gt;&#10;&lt;p&gt;&#10;&lt;a href="https://bryanavery.co.uk/page/Latest-Resume/" title="Resume"&gt;Click here&lt;/a&gt; to see what I've been doing!&lt;/p&gt;</description></item><item><title>Directions to Coppermill</title><link>https://bryanavery.co.uk/directions-to-coppermill/</link><pubDate>Tue, 09 Oct 2007 13:30:00 +0000</pubDate><guid>https://bryanavery.co.uk/directions-to-coppermill/</guid><description>&lt;div&gt;&#10;DIRECTIONS TO THE 31 The Pound, Bromham, &lt;a href="http://maps.google.com/maps/ms?f=q&amp;amp;hl=en&amp;amp;geocode=&amp;amp;ie=UTF8&amp;amp;msa=0&amp;amp;msid=103839707956364995595.000458d13570faf169873&amp;amp;ll=51.387852,-2.046225&amp;amp;spn=0.010404,0.019312&amp;amp;z=16"&gt;SN15 2HE&lt;/a&gt;&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;&lt;iframe frameborder="0" height="350" src="https://maps.google.com/maps?f=q&amp;amp;hl=en&amp;amp;geocode=&amp;amp;q=SN15+2HE&amp;amp;ie=UTF8&amp;amp;z=14&amp;amp;iwloc=addr&amp;amp;ll=51.394118,-2.041998&amp;amp;output=embed&amp;amp;s=AARTsJojGeeCMJnkxUnOeY8oaT-tbuV6WQ" width="425"&gt;&lt;/iframe&gt;&lt;br/&gt;&#10;&lt;a href="http://maps.google.com/maps?f=q&amp;amp;hl=en&amp;amp;geocode=&amp;amp;q=SN15+2HE&amp;amp;ie=UTF8&amp;amp;z=14&amp;amp;iwloc=addr&amp;amp;ll=51.394118,-2.041998&amp;amp;source=embed" style="color: #0000ff; text-align: left"&gt;View Larger Map&lt;/a&gt;&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;From where-ever you start drive to Junction 17 of M4&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;THE FOLLOWING WILL ONLY TAKE YOU ABOUT 15 MINS!&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;Take the A350 to Chippenham (Mostly Dual Carriageway)&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;Services on 1st roundabout and keep following signs ‘A350 Chippenham’&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;Lots of rounabouts&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;Reach Roundabout turn left following signs for Chippenham/Devizes this roundabout has Sainsburys on your left (its quite hidden) &#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;Drive through housing area with lots of roundabouts (your going round outskirts of chippenham)&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;Reach roundabout with ‘Town Centre left’ and ‘Devizes right’, turn right.&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;Drive  pass small petrol station and a pub turn turn right up hill ‘A342 Devizes’&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;Go up hill pass ‘Bowood Country Club’ on your left&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;Follow road through ‘Sandy Lane’ with lovely thatch cottages&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;Road becomes v straight again with sign post ‘Melksham right’ DON’T turn right! &#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;Keep straight on&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;Almost there so slow down, a few bends, sign post turn right BROMHAM&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;Drive pass tennis courts on right with kids play area –  keep slow!&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;Set of trees on right, Bryans house is 1st house on right&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;IT’S QUITE HIDDEN!&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;Turn right and park &#10;&lt;/div&gt;&#10;&lt;p&gt;&lt;img alt="" decoding="async" fetchpriority="high" height="300" src="https://bryanavery.co.uk/uploads/2008/10/IMG_4665+(Small).jpg" width="460"/&gt; &lt;/p&gt;</description></item><item><title>Using LINQ to SQL</title><link>https://bryanavery.co.uk/using-linq-to-sql/</link><pubDate>Mon, 09 Jul 2007 14:44:00 +0000</pubDate><guid>https://bryanavery.co.uk/using-linq-to-sql/</guid><description>&lt;p&gt;Found these great articles on LINQ to SQL, well worth reading as it the way to go forwards&lt;/p&gt;&#10;&lt;div class="post-body entry-content"&gt;&#10;&lt;p&gt;&#10;&lt;a href="http://weblogs.asp.net/scottgu/archive/2007/05/19/using-linq-to-sql-part-1/"&gt;&lt;font color="#99aadd"&gt;Using LINQ to SQL (Part 1)&lt;/font&gt;&lt;/a&gt;&#10;&lt;/p&gt;&#10;&lt;p&gt;&#10;&lt;a href="http://weblogs.asp.net/scottgu/archive/2007/06/29/linq-to-sql-part-3-querying-our-database/"&gt;&lt;font color="#99aadd"&gt;LINQ to SQL (Part 2 – Defining our Data Model Classes) &lt;/font&gt;&lt;/a&gt;&#10;&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="http://weblogs.asp.net/scottgu/archive/2007/06/29/linq-to-sql-part-3-querying-our-database/"&gt;&lt;font color="#99aadd"&gt;LINQ to SQL (Part 3 – Querying our Database) &lt;/font&gt;&lt;/a&gt;&#10;&lt;/p&gt;&lt;/div&gt;</description></item><item><title>spammer-proof email address</title><link>https://bryanavery.co.uk/spammer-proof-email-address/</link><pubDate>Tue, 27 Feb 2007 14:45:00 +0000</pubDate><guid>https://bryanavery.co.uk/spammer-proof-email-address/</guid><description>&lt;p&gt;&lt;a href="http://www.edream.org/BlogArticle/?RecordID=84"&gt;&lt;font color="#99aadd"&gt;edream.org Blog Article Extending Personal Web Site Starter Kit (3) spammer-proof email address&lt;/font&gt;&lt;/a&gt; &lt;/p&gt;</description></item><item><title>Download details: Windows Vista Step-by-Step Guides for IT Professionals</title><link>https://bryanavery.co.uk/download-details-windows-vista-step-by-step-guides-for-it-professionals/</link><pubDate>Sun, 26 Feb 2006 14:45:00 +0000</pubDate><guid>https://bryanavery.co.uk/download-details-windows-vista-step-by-step-guides-for-it-professionals/</guid><description>&lt;p&gt;It's that time again, when Microsoft are going to get everyone to move and upgrade to another operating system, and I've been so happy with XP, I'm going to need a bit of convincing to move over.&lt;/p&gt;</description></item><item><title>How to run an application as another user</title><link>https://bryanavery.co.uk/how-to-run-an-application-as-another-user/</link><pubDate>Thu, 22 Dec 2005 14:46:00 +0000</pubDate><guid>https://bryanavery.co.uk/how-to-run-an-application-as-another-user/</guid><description>&lt;p&gt;Useful little short cut to allow you to run / login as another process as a different user without having to logoff and back in again. &lt;/p&gt;&#10;&lt;p&gt;&#10;%windir%\system32\runas.exe /profile /user:gwtest\testuser /savecred "c:\program files\internet explorer\iexplore.exe" &lt;/p&gt;</description></item><item><title>Concurrent Remote Sessions in XP</title><link>https://bryanavery.co.uk/concurrent-remote-sessions-in-xp/</link><pubDate>Tue, 15 Nov 2005 14:48:00 +0000</pubDate><guid>https://bryanavery.co.uk/concurrent-remote-sessions-in-xp/</guid><description>&lt;div class="post-body entry-content"&gt;&#10;&lt;p&gt;&#10;&lt;strong&gt;Concurrent Remote Desktop Sessions in Windows XP SP2&lt;/strong&gt; &lt;/p&gt;&#10;&lt;p&gt;&#10;I mentioned before that Windows XP does not allow concurrent sessions for its Remote Desktop feature. What this means is that if a user is logged on at the local console, a remote user has to kick him off (and ironically, this can be done even without his permission) before starting work on the box. This is irritating and removes much of the productivity that Remote Desktop brings to Windows. Read on to learn how to remove that limitation in Windows XP SP2 &lt;/p&gt;&#10;&lt;p&gt;A much touted feature in SP2 (Service Pack 2) since then removed was the ability to do just this, have a user logged on locally while another connects to the terminal remotely. Microsoft however removed the feature in the final build. The reason probably is that the EULA (End User License Agreement) allows only a single user to use a computer at a time. This is (IMHO) a silly reason to curtail Remote Desktop's functionality, so we'll have a workaround. &lt;/p&gt;&#10;&lt;p&gt;Microsoft did try out the feature in earlier builds of Service Pack 2 and it is this that we're going to exploit here. We're going to replace termserv.dll (The Terminal Server) with one from an earlier build (2055). &lt;/p&gt;&#10;&lt;p&gt;To get Concurrent Sessions in Remote Desktop working, follow the steps below exactly: &lt;/p&gt;&#10;&lt;p&gt;Download the termserv.zip file below and extract it somewhere. (You have to be registered to see the file) &lt;/p&gt;&#10;&lt;p&gt;Reboot into Safe Mode. This is necessary to remove Windows File Protection. &lt;/p&gt;&#10;&lt;p&gt;Copy the termserv.dll in the zip to %windir%\System32 and %windir%\ServicePackFiles\i386. If the second folder doesn't exist, don't copy it there. &lt;/p&gt;&#10;&lt;p&gt;Delete termserv.dll from the dllcache folder: %windir%\system32\dllcache &lt;/p&gt;&#10;&lt;p&gt;Merge the contents of Concurrent Sessions SP2.reg file into the registry. &lt;/p&gt;&#10;&lt;p&gt;Make sure Fast User Switching is turned on. Go Control Panel -&amp;gt; User Accounts -&amp;gt; Change the way users log on or off and turn on Fast User Switching. &lt;/p&gt;&#10;&lt;p&gt;Open up the Group Policy Editor: Start Menu &amp;gt; Run &amp;gt; 'gpedit.msc'. Navigate to Computer Configuration &amp;gt; Administrative Templates &amp;gt; Windows Components &amp;gt; Terminal Services. Enable 'Limit Number of Connections' and set the number of connections to 3 (or more). This enables you to have more than one person remotely logged on. &lt;/p&gt;&#10;&lt;p&gt;Now reboot back into normal Windows and try out whether Concurrent Sessions in Remote Desktop works. It should! &lt;/p&gt;&#10;&lt;p&gt;If anything goes wrong, the termserv_sp2.dll is the original file you replaced. Just rename it to termserv.dll, reboot into safe mode and copy it back. &lt;/p&gt;&#10;&lt;p&gt;The termserv.dl_ file is provided in the zip is for you slipstreamers out there. Just replace that file with the corresponding file in the Windows installation disks. &lt;/p&gt;&#10;&lt;p&gt;I've added in extra information from the comments below… thanks for all who researched! 🙂 &lt;/p&gt;&#10;&lt;p&gt;&#10;&lt;a href="http://sig9.com/node/110"&gt;&lt;font color="#99aadd"&gt;http://sig9.com/node/110&lt;/font&gt;&lt;/a&gt;&#10;&lt;/p&gt;&#10;&lt;/div&gt;</description></item><item><title>Lightbox Example</title><link>https://bryanavery.co.uk/lightbox-example/</link><pubDate>Thu, 01 Nov 2001 15:02:00 +0000</pubDate><guid>https://bryanavery.co.uk/lightbox-example/</guid><description>&lt;p&gt;[lightbox:/uploads/2008/11/ViewfromtheChurch.jpg]&lt;/p&gt;</description></item><item><title>About me</title><link>https://bryanavery.co.uk/about-me/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://bryanavery.co.uk/about-me/</guid><description>&lt;h2 class="relative group"&gt;Why I write&#10; &lt;div id="why-i-write" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#why-i-write" aria-label="Anchor"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&lt;p&gt;This website is my technical notebook. Some posts are quick references to a problem I&amp;rsquo;ve solved. Others explore the bigger questions around architecture, cloud, security, AI and how teams build software together.&lt;/p&gt;</description></item><item><title>Microsoft Certified</title><link>https://bryanavery.co.uk/microsoft-certified/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://bryanavery.co.uk/microsoft-certified/</guid><description>&lt;p&gt;&lt;/p&gt;&#10;&lt;figure class="size-full"&gt;&lt;img fetchpriority="high" decoding="async" width="975" height="593" src="https://bryanavery.co.uk/media/articles/2023/12/Microsoft-Certified-Azure-AI-Engineer-Associate.png" alt="" srcset="https://bryanavery.co.uk/media/articles/2023/12/Microsoft-Certified-Azure-AI-Engineer-Associate.png 975w, https://bryanavery.co.uk/media/articles/2023/12/Microsoft-Certified-Azure-AI-Engineer-Associate-300x182.png 300w, https://bryanavery.co.uk/media/articles/2023/12/Microsoft-Certified-Azure-AI-Engineer-Associate-768x467.png 768w" sizes="(max-width: 975px) 100vw, 975px" /&gt;&lt;/figure&gt;&#10;&lt;p&gt;&lt;a href="https://learn.microsoft.com/api/credentials/share/en-gb/BryanAvery/1C0E901C5311A657?sharingId=464139BD4EB8826F"&gt;https://learn.microsoft.com/api/credentials/share/en-gb/BryanAvery/1C0E901C5311A657?sharingId=464139BD4EB8826F&lt;/a&gt;&lt;/p&gt;&#10;&lt;figure class="size-large"&gt;&lt;img decoding="async" width="1024" height="638" src="https://bryanavery.co.uk/media/articles/2023/11/Microsoft-Certified-Azure-Al-Fundamentals-1024x638.png" alt="" srcset="https://bryanavery.co.uk/media/articles/2023/11/Microsoft-Certified-Azure-Al-Fundamentals-1024x638.png 1024w, https://bryanavery.co.uk/media/articles/2023/11/Microsoft-Certified-Azure-Al-Fundamentals-300x187.png 300w, https://bryanavery.co.uk/media/articles/2023/11/Microsoft-Certified-Azure-Al-Fundamentals-768x479.png 768w, https://bryanavery.co.uk/media/articles/2023/11/Microsoft-Certified-Azure-Al-Fundamentals-1536x958.png 1536w, https://bryanavery.co.uk/media/articles/2023/11/Microsoft-Certified-Azure-Al-Fundamentals.png 1848w" sizes="(max-width: 1024px) 100vw, 1024px" /&gt;&lt;/figure&gt;&#10;&lt;p&gt;&lt;a href="https://learn.microsoft.com/api/credentials/share/en-gb/BryanAvery-9106/303A9DC233C1825E?sharingId=464139BD4EB8826F"&gt;https://learn.microsoft.com/api/credentials/share/en-gb/BryanAvery-9106/303A9DC233C1825E?sharingId=464139BD4EB8826F&lt;/a&gt;&lt;/p&gt;&#10;&lt;figure class="size-large"&gt;&lt;img decoding="async" width="1024" height="638" src="https://bryanavery.co.uk/media/articles/2023/11/Microsoft-Certified-Azure-Data-Fundamentals-1024x638.png" alt="" srcset="https://bryanavery.co.uk/media/articles/2023/11/Microsoft-Certified-Azure-Data-Fundamentals-1024x638.png 1024w, https://bryanavery.co.uk/media/articles/2023/11/Microsoft-Certified-Azure-Data-Fundamentals-300x187.png 300w, https://bryanavery.co.uk/media/articles/2023/11/Microsoft-Certified-Azure-Data-Fundamentals-768x479.png 768w, https://bryanavery.co.uk/media/articles/2023/11/Microsoft-Certified-Azure-Data-Fundamentals-1536x958.png 1536w, https://bryanavery.co.uk/media/articles/2023/11/Microsoft-Certified-Azure-Data-Fundamentals.png 1848w" sizes="(max-width: 1024px) 100vw, 1024px" /&gt;&lt;/figure&gt;&#10;&lt;p&gt;&lt;a href="https://learn.microsoft.com/en-gb/users/bryanavery-9106/credentials/2c8d12775cab5295"&gt;https://learn.microsoft.com/en-gb/users/bryanavery-9106/credentials/2c8d12775cab5295&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Resume</title><link>https://bryanavery.co.uk/resume/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://bryanavery.co.uk/resume/</guid><description>&lt;p&gt;&lt;em&gt;This is an archived CV. It reflects previous roles and experience rather than a current employment summary.&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="https://bryanavery.co.uk/media/articles/2016/03/June17-BryanAveryResume-LeadDeveloper.docx"&gt;click here to download my Word version of the Bryan Avery Resume &amp;#8211; Lead Developer&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="https://bryanavery.co.uk/media/articles/2016/03/June17-BryanAveryResume-LeadDeveloper.pdf" target="_blank" rel="noopener"&gt;click here for the PDF Resume for Bryan Avery &amp;#8211; Lead Developer&lt;/a&gt;&lt;/p&gt;</description></item></channel></rss>