Sunday, December 12, 2010

PDC 10 Downloader

This time there are several PDC 10 downloaders floating around the web as the OData feed is available.

I used Mark's Silverlight based downloaded which is cool and simple to use. There are some bugs (0 KB files) still I felt better than other.

To experience the OData feed your self.  try Greg’s blog.  He has given a code sample also!

Monday, September 20, 2010

Excel Automation

Excel automation is unavoidable scenario in most of the Enterprise IT solution. Primarily the automation targets following area

  1. Pivot Report Generation
  2. Complex formula abstraction
  3. Report Attachment
  4. Data Transfer medium

In addition to typical Interop Assembly usage, we can take advantage of Open XML APIs. In addition to that there are lot of third party tools available to address the same. In this blog will keep adding the relevant tools and techniques of Excel Automation.

Note: If you are using SSIS, there is good amount challenge. Check out Dougbert blog for solutions.

Friday, September 17, 2010

Windows Phone 7

Windows Phone 7 is the latest buzz in Microsoft.  There are lot of opportunity for developer.  Here is the resources to catch up.

Windows Phone Developer site

Training Kit

How to Videos

Latest happenings at team’s blog

T4 (Text Template Transformation Toolkit)

Did you ever worked on a project where you need to create CRUD SP for each table and explored opportunity to automate the code.  In such scenarios most of the people do dynamic SQL, but managing a dynamic SQL code is not as smooth as for the V1 developer.

The code template, code generation tools bridges the gap.  

More info blog,Text Templates, T4 Toolbox and T4 Editor

Wednesday, September 1, 2010

Structural Pattern

Adapter

S Adapter

Bridge 

S Bridge

Composite

S Composite 

Decorator

S Decorator

Facade 

S Facade 

Flyweight

S FlyWeight

Proxy

S Proxy

Creational Patterns

Abstract Factory

C Abstract Factory

Builder

 C Builder

Factory Method

C Factory Method

Singleton

C Singleton

Prototype

C Prototype

Behavior Patterns

A quick snap of patterns.  (The diagram are from Design Patten Book)

Chain of Responsibility

B Chain of Res_thumb[2]

Command 

B Command_thumb[2]

Interpreter

B Interpreter_thumb[2]

Iterator

B Iterator_thumb[2]

Mediator

B Mediator_thumb[1] 

Memonto

B Memento_thumb[1]

State 

B State_thumb[1]

Strategy

B Strategy_thumb[1] 

Template Method

B Template Method_thumb[1]

Visitor

 B Visitor_thumb[1]

Observer

B Observer

Saturday, August 21, 2010

Are you bored with VS color theme

We are so used to Visual Studio syntax highlight.  Even though we know the font, color for every schematic can be configured using Tools, Options.  How many time we ventured on it.

#1 StudioStyle is a site which gives cool Color Theme for Visual Studio Editor Space.  Give a try.

image

#2 If you are using VS 2010, you can download Visual Studio Color Theme Editor, which helps you to create custom themes of complete VS shell.

Friday, August 20, 2010

SSIS Automation

SSIS Provides rich set of API to dynamically create DTSX Packages.

http://blogs.msdn.com/b/mattm/archive/2009/03/02/api-sample-programmatically-create-and-export-configuration-files-for-your-packages.aspx

Codeplex has lot of samples for API reference.  You can download MSI, which covers range of samples.

Will publish my samples and guidelines in my live blog soon.

Friday, July 16, 2010

WPF CRUD (Scaffolding) UI

Creating UI for master data is a time consuming activity.  It is nice to see lot of attempts are made to automate the process in WPF.  Checkout the following

Thursday, June 17, 2010

Windows 7 – Problem Step Recorder

Every developer wishes there was a way that an end-users could quickly and simply record a repro for the problem that they’re running into that is unique to their machine. Windows 7 comes to the rescue! Part of the in-built diagnostic tools that we use internally to send feedback on the product, the Problem Steps Recorder provides a simple screen capture tool that enables you to record a series of actions. Once you hit “record”, it tracks your mouse and keyboard and captures screenshots with any comments you choose to associate alongside them. Once you stop recording, it saves the whole thing to a ZIP file, containing an HTML-based “slide show” of the steps. It’s a really neat little tool and I can’t wait for it to become ubiquitous on every desktop! The program is called psr.exe; you can also search for it from Control Panel under “Record steps to reproduce a problem”.

Thanks to Jawahar for sharing the info.

Sunday, May 30, 2010

Enterprise Library 5.0 Hands on lab

A set of Hands-on Labs for the Microsoft Enterprise Library 5.0 is released and available for download.

Monday, May 17, 2010

WPF Resources

Microsoft Site: http://windowsclient.net/

Books: http://windowsclient.net/Community/book.aspx?b=wpfbooks

FAQ : http://www.syncfusion.com/faq/wpf/default.aspx, http://wpfwiki.com/

Code Sample: http://code.msdn.microsoft.com/wpfsamples

Power Toys: http://karlshifflett.wordpress.com/xaml-power-toys/

Webcast: https://msevents.microsoft.com/cui/WebCastEventDetails.aspx?culture=en-US&EventID=1032346155&CountryCode=US

Healthcare Prototype: http://windowsclient.net/downloads/folders/wpfsamples/entry3754.aspx

Code Project: http://www.codeproject.com/KB/WPF/AdventureWorks_Part1.aspx

Applications: http://channel9.msdn.com/wiki/wpf/applicationportfolio/

Fantastic demo on MVVM

Expression Blend Tutorial

XAML Best Practices: Silverlight XAML WPF-XAML

Learn more about WPF's Architecture and Design Motivations.

Installing .Net 3.0 and Tools - Tim Sneath's very useful list of tools and bits that you'll need to get started with WPF.

SDK Topic: Introduction to WPF - A primer on WPF's "building blocks".

SDK Topic: WPF Architecture - An informative and in-depth guided tour of how Windows Presentation Foundation (WPF) was designed and some motivations of the architects behind those decisions. It covers most of the major subsystems of WPF and describes how they interact.

SDK Tutorial: Get Started Using WPF - This tutorial provides an introduction to the development of a Windows Presentation Foundation (WPF) application that integrates the core elements of most WPF applications: controls, layout, data binding, and styles.

MSDN Article: Introducing Windows Presentation Foundation Get a primer from David Chappell about how the WPF unified presentation stack helps make designers active participants in creating user interfaces, and provides a common programming model for standalone and browser applications.

MSDN Article: A Guided Tour of Windows Presentation Foundation A classic overview of Windows Presentation Foundation (formerly code-named "Avalon") by Tim Sneath that provides context coupled with code samples for Microsoft's strategic presentation stack. Surveys the architecture and major components available within this release for developers.

Getting Started with WPF - from a Windows Forms developer perspective A series of articles on WPF from a Windows Forms developer perspective.  This started out as a simple document entitled “So you know Windows Forms and you wanna learn Avalon” way before there was as much content out there as there is now.  This perspective should be useful for folks who've developed using WinForms.

An Overview of Microsoft Visual Studio Code Name "Orcas" White Paper This white paper provides an overview of Visual Studio code name "Orcas", including new client development features for WPF as well as WinForms.

WPF Performance White Paper This white paper is intended as a reference for Windows Presentation Foundation (WPF) application developers who are looking for ways to improve the performance of their applications. If you are a developer who is new to the Microsoft .NET Framework version 3.0 and WPF, you should first familiarize yourself with both platforms. This topic assumes working knowledge of both, and is written for programmers who already know enough to get their applications up and running. Information in this topic is based on version 1.0 of WPF.

ContentPresenter.com for WPF ContentPresenter.com is a free WPF tutorial resource that renowed Frog Designer Lee Brimelow created to help interactive designers learn this exciting new technology. Most of the available tutorials online are too technical for most designers to follow and the majority are produced for .NET developers who are trying to learn WPF. WPF offers so many incredible visual design possibilities for creative types, so Lee created this site to help people get started. There will be a lot of programming in these tutorials so graphic designers with no prior coding experience may have difficulties. These tutorials are primarily geared for interactive designers who are used to using tools like Flash.

Sunday, May 2, 2010

Online Stop Watch

Recently we conducted a team event.  While searching for a Stop Watch timer.  We found the http://www.online-stopwatch.com URL.  It is simple and solves the purpose.

Thursday, April 29, 2010

Data Structure in C#

There is six part a MSDN article which discussed C# Data Structure in details.

An Extensive Examination of Data Structures Using C# 2.0

Part 1: An Introduction to Data Structures
Part 2: The Queue, Stack, and Hashtable
Part 3: Binary Trees and BSTs
Part 4: Building a Better Binary Search Tree
Part 5: From Trees to Graphs
Part 6: Efficiently Representing Sets

SSIS FAQ

The blog list the basic questions on SSIS

Control Flow:

  • Process Oriented
  • Doesn’t manage or pass data between components.
  • It functions as a task coordinator
  • In control flow tasks requires completion (Success., failure or completion)
  • Synchronous in nature, this means, task requires completion before moving to next task. If the tasks are not connected with each other but still they are synchronous in nature.
  • Tasks can be executed both parallel and serially
  • Three types of control flow elements in SSIS 2005
  • Containers - Provides structures in the packages
  • Tasks - Provides functionality in the packages
  • Precedence Constraints - Connects containers, executable and tasks into an ordered control flow.
  • We can control the sequence execution for tasks and also specify the conditions that tasks and containers run.
  • It is possible to include nested containers as SSIS Architecture supports nesting of the containers. Control flow can include multiple levels of nested containers.

Data Flow

  • Streaming in nature
  • Information oriented
  • Passes data between other components
  • Transformations work together to manage and process data. This means first set of data from the source may be in the final destination step while at the same time other set of data is still flowing. All the transformations are doing work at the same time.
  • Three types of Data Flow components
  • Sources - Extracts data from the various sources (Database, Text Files etc)
  • Transformations - Cleans, modify, merge and summarizes the data
  • Destination - Loads data into destinations like database, files or in memory datasets

How do you do

  • Error handling
  • Logging
  • Deployment & different strategies
  • Schedule SSIS packages to run on the fly?
  • How do you run stored procedure and get data in SSIS?
  • Debugging (Break Point, Data Viewer, SQL Profiler)
  • Configuration using XML, DB
  • Handle Transactions

Give a scenario: Want to insert a text file into database table, but during the upload want to change a column called as months - January, Feb, etc to a code, - 1,2,3.. .This code can be read from another database table called months. After the conversion of the data, upload the file. If there are any errors, write to error table. Then for all errors, read errors from database, create a file, and mail it to the supervisor. How would you accomplish this task in SSIS?

Tuesday, April 27, 2010

Do you have a minute?

Microsoft has collection of 60 second videos demonstrating its product and it is business value.  Good to watch to get a quick idea on what is the technology all about.

Sketch Flow

sketchflow When you want to sketch the Application Navigation, you can use SketchFlow, a new rapid prototyping tool from Microsoft which is available as part of Expression Studio 3. For a more structured look at SketchFlow please take a look at the SketchFlow starter kit. This series of videos walks you through the major features of SketchFlow and helps you understand how to use them.

Public Awareness Collection

Recently came to know the site which list links to

The Advertisng Standards Council of India
Cyberabad Police - Traffic
Consumer Court
Online RTI Application
Petitioning President

http://www.ccccore.co.in/

Will add more links to this post later.

Monday, April 26, 2010

Cloud Computing

Web Sites

· Cloud Services:  Locate information and resources for the IT Pro, Developer, Business Leader, Technical Leader, Partner, and Government and Education at http://www.microsoft.com/cloud

· Windows Azure Platform: For whitepapers, videos, resources, evidence , pricing, and developer and partner information, see http://www.microsoft.com/windowsazure/ (external audience) //windowsazure (internal field portal)

· Microsoft Online Services: Find information on solutions, products, and how to buy at http://www.microsoft.com/online/default.mspx

· Microsoft Partner Network: Quickstart Online Services: Resources for partners to evaluate business and technical opportunities for BPOS and other Microsoft Online Services at http://www.quickstartonlineservices.com/Pages/Default.aspx.

· Gear Up Compete Special Edition

Case Studies

· Learn how others are using the Windows Azure platform to cut costs and increase agility at http://www.microsoft.com/windowsazure/evidence.

· See how Software + Services solutions combine the power of software with the benefits of the Internet at http://www.microsoft.com/success/

· 3M: Learn how 3M used the Windows Azure platform to deliver an innovative Web-based visual attention service to a global audience.

· Crisis Call Center: Learn how the crisis-hotline non-profit cut IT costs by $20,000 annually with Microsoft Online Services.

· RiskMetrics: Learn how the financial risk-analysis firm used Windows Azure to provide on- demand computing capacity for its analytics applications.

· Origin Digital: Learn how the video service provider reduced costs with an innovative transcoding application built with Windows Azure and SQL Azure.

Starter Kits & Code Samples

Starter Kits

Code Samples

C# Tools

Sunday, April 11, 2010

Saturday, April 10, 2010

WCF

There is a excellent 15 part web cast on MSDN on WCF.

http://www.dasblonde.net/2007/06/24/WCFWebcastSeries.aspx

If you are new to WCF this is the place to start.  Though the voice is not interesting to listen.  The content is really good.

Monday, April 5, 2010

I enjoyed reading it…

Some Important Laws Which Newton Forgot to State

LAW OF QUEUE: If you change queues, the one you have left will start to move faster than the one you are in now.

LAW OF TELEPHONE: When you dial a wrong number, you never get an engaged one.

LAW OF MECHANICAL REPAIR : After your hands become coated with grease, your nose will begin to itch.

LAW OF THE WORKSHOP: Any tool, when dropped, will roll to the least accessible corner.

LAW OF THE ALIBI: If you tell the boss you were late for work because you had a flat tire, the next morning you will have a flat tire.

BATH THEOREM: When the body is immersed in water, the telephone rings.

LAW OF ENCOUNTERS: The probability of meeting someone you know increases when you are with someone you don't want to be seen with.

LAW OF THE RESULT: When you try to prove to someone that a machine won't work, it will!

LAW OF BIOMECHANICS: The severity of the itch is inversely proportional to the reach.

THEATRE RULE: People with the seats at the furthest from the aisle arrive last.

LAW OF COFFEE: As soon as you sit down for a cup of hot coffee, your boss will ask you to do something which will last until the coffee is cold...

Saturday, March 20, 2010

WPF Web cast series

There is a 18 part web cast series on WPF “Soup to nuts”

https://msevents.microsoft.com/cui/WebCastEventDetails.aspx?culture=en-US&EventID=1032346155&CountryCode=US

8/6/2007 - Introduction
Join us for part one of this series as Bill Steele introduces you to Windows Presentation Foundation (WPF), a pillar of the Microsoft .NET Framework version 3.0. In this webcast, Bill begins the series with a discussion about the origin of WPF, why we have it, and some of the things you can do with it.

8/13/2007 - What is XAML?
Join us for part two of this series as Bill Steele discusses the Extensible Application Markup Language (XAML), the new markup language from Microsoft. This technology is widely used in Windows Presentation Foundation (WPF) to describe user interfaces in a declarative programming paradigm.

8/20/2007 - Conceptualizing WPF
Join part three of this series as Bill Steele discusses several important new concepts used in Windows Presentation Foundation (WPF). In this session, Bill covers the basics of the WPF tree structure. We also learn how properties, events, and commands are handled.

8/27/2007 - Hello World
Join us for part four of this series as Bill Steele takes you through the basics of building your very first Windows Presentation Foundation (WPF) application, Hello World. In this webcast, we learn about the basic structure of a WPF-based application, including controls, layout, and positioning. The information in this session prepares us to dig deeper in the upcoming webcasts in this series.

9/4/2007 - WPF Controls
Join Bill Steele, in this webcast, where he will introduce you to the various types of controls that Windows Presentation Foundation utilizes. He will discuss the various types as well as talk about their uses.

9/10/2007 - Panels
Join Bill Steele has he discusses the various ways to utilize the panel style controls within Windows Presentation Foundation. In this session, Bill will cover various items as the StackPanel, WrapPanel and the DockPanel. He will also discuss how you can assemble multiple panels to produce controls with enhanced effects like collapsing and docking.

9/17/2007 - Deploying XAML based Applications
Join Bill Steele in this webcast as he discusses the various ways to deploy a Windows Presenation Foundation based application. He will instroduce you to the XAML Binary Application file format for distributing applications via the browser. He will also cove other style applications, like Gadgets and standard desktop deployment models.

9/24/2007 - WPF Resource Files
Join Bill Steele in this webcast as he discusses the various types of resources that can be utilized within a Windows Presentation Foundation application. He will cover the basics of Binary Resources vs. Logical Resources. He will also how you how you can define resources and then access them either statically or dynamically. You will also learn how to interact with the system resources.

10/1/2007 - Data Binding with WPF
Join Bill Steele in this webcast as he discusses the magic known as Data Binding. Data Binding is a powerful way to tie the presentation of an object to the object itself. In this session, Bill will show you how you can control the rendering using Data Templates and Value Converters. He will also show you how you can utilize the powerful collection object to sort, filter and navigate through the data. Finally, he will talk about the various data providers that WPF applications can utilize.

10/8/2007 - Adding Pizzaz with Style
Join Bill Steele in this webcast as he talks about adding style and flair to your Windows Presentation Foundation based application. Bill will discuss the concepts of Styles, Templates and Themes and show you how you can utilize them to add individual uniqueness to each component to make them stand out. He will also show you how you can package up those styles for reuse in other applications.

10/15/2007 - 2D Graphics
Join Bill Steele in this webcast as he talks about graphics. Windows Presentation Foundation is all about the look and feel of your application, and graphics are the key. In this webcasts, Bill will introduce you to the concepts of Shapes, Brushes and Effects. You will learn how you can utilize the basics of the 2D graphics system to build very distinctive applications.

10/22/2007 - 3D Graphics
Join Bill Steele in this webcast as he talks about graphics. Windows Presentation Foundation is all about the look and feel of your application, and graphics are the key. In this webcasts, Bill will introduce you to the concepts of 3D graphics utilizing objects such as Cameras, Transforms and Models. Building on the basics of the 2D session, Bill will expand our knowledge by showing us how the simple 2D objects and be transformed into 3D objects that can be manipulated via code.

10/29/2007 - Animation
Join Bill Steele in this webcast as he talks about animation in Windows Presentation Foundation. Animation takes your applications to a whole new level when it comes to user understanding and experience. In this webcast, Bill will show you how you can utilize procedural code and XAML to produce graphics that appear to be alive. You will learn about the animation classes as well as some of the standard XAML objects, like Storyboards and the various types of Keyframes.

11/5/2007 - Multimedia
Join Bill Steele in this webcast as he talks about multimedia in Windows Presentation Foundation. Adding multimedia elements to your application can increase the understanding of your application by orders of magnitude. In this webcast, Bill will show you how easily it is to incorporate Audio, Video as well as Speech into your applications utilizing the various components like the MediaElement and the MediaTimeline.

11/12/2007 - Compatibility with Win32
Join Bill Steele in this webcast where he will talk about how to utilize XAML based WPF applications with "classic" Win32 based applications. He will show you how you can utilize controls created in WPF within Win32 based applications as well as utilizing classic Win32 based controls in the WPF world.

11/19/2007 - Creating Controls
Join Bill Steele in this webcast where he will talk about how to create custom controls with Windows Presentation Foundation. In this session, Bill will discuss the difference betweeen User Controls and Custom Controls. He will also cover the basic concepts, like creating the user interface and behaviors for each control. Lastly, he will discuss how to add dependency properties and routed events to your controls.

11/26/2007 - Layout with Custom Panels
Join Bill Steele in this webcast where he will talk about how to master the layout of panels by utilizing the communication between parent and child controls. In this webcast, Bill will build an example panel control that behaves like the Ribbon control in Microsoft Office 2007.

12/3/2007 - Helpful Tools
Join Bill Steele in this final webcast of the Windows Presentation Foundation Soup To Nuts Webcast series where he will talk about some of the other professional tools that are available for WPF developers. He will also demonstarate Silverlight. Silverlight utilizes XAML to produce rich media based applications for distribution in web pages.

http://www.benkotips.com/Default.aspx?tabid=1324

http://blogs.msdn.com/wsteele/archive/2007/12/03/wpf-soup-to-nuts-helpful-tools.aspx

How to you evaluate a company?

Before you join a company check the Review, Salary & interviews

http://www.glassdoor.com/index.htm

http://www.citehr.com/

Wednesday, March 17, 2010

Amazing Panoramic image

Paris 26 Gigapixels is the name of the biggest assembled panoramic image of the world. It shows Paris in a very high definition. A gigapixel is 1 billion pixels! The image is a stitching of more than 2000 individual photos. Paris 26 Gigapixels has been shot on September 8th, 2009 and is now available for everyone at http://www.paris-26-gigapixels.com.

Monday, March 1, 2010

Creating MP3 Audio file

This blog entry introduces free audio recording and MP3 conversion tools.

Audacity is a free Recording and audio editing tool.  You can download it from here 

After installing the tool you can record the sound and can save the project.  But to export the audio to MP3 format you need to download an encoder.

LAME encoder is a free version.  You can download the LAME encoder from here.

After downloading the DLL file, follow the below steps to make use of it in Audacity.

  1. Download the LAME dll
  2. Copy of the required lame_enc.dll to Audacity installation folder. This is normally at C:\Program Files\Audacity XYZ….
  3. Launch Audacity, click Edit > Preferences > Libraries.
  4. Look for the MP3 Export section.
  5. Click on the "Find Library" or "Locate..." button
  6. Click the "Browse" button
  7. In the dialogue box, go to the folder where you put lame_enc.dll earlier, and select it.
  8. Click Open, then OK.

User the following help file if you find difficulty in the above steps.

http://wiki.audacityteam.org/index.php?title=Lame_Installation#For_1.3.3_and_later_users

Tuesday, February 23, 2010

Systems Architecture Interview Questions

http://blogs.msdn.com/nickmalik/archive/2007/01/29/systems-architecture-interview-questions.aspx
Copied from above link!!

Next week, I'm interviewing another architect, so I've gone over my list of "things to ask an architect candidate" for another time to see if I'd change anything. Not much popped out, but I thought I'd share some exercises that I ask architecture candidates to run through.

Note: I care more about experience than book learning, but I care very much that you know the actual names for things. In other words, book learning does matter. If you never got around to reading any of those 'patterns' books, don't bother to show up. You wouldn't be considered a qualified medical intern if you referred to the Biceps Brachii as the 'upper arm muscle' and I won't consider you an architect if you can't tell that I'm using a Strategy pattern in my case study.

The things that a systems architect must do to survive an interview with me:

  1. Demonstrate the ability to work on a project team with developers productively
  2. Describe a time when you created a vision for a systems architecture, communicate it, and others made it come into existence
  3. Tell me how you know when it is time to review code for compliance and when you are better off getting out of a developer's hair
  4. Be able to guide and direct the team in the art and science of visual modeling (it's not enough to know... you must also teach).
  5. Detect the gaps in the early design artifacts of a project and determine what risks are going unmanaged.
  6. Be able to convince me that you understand, in your bones, the concepts of coupling, abstraction, and encapsulation.
  7. Be able to describe at least five GoF patterns in fine detail. Be able to describe at least five messaging patterns in fine detail.
  8. Pick a single system quality attribute that should be paramount in a particular situation, and then explain why.

Some exercises to run folks through:

A. James is an IT architect working with a team of 5 developers and 5 testers on a new system. He has a situation with his development team. He presented the high-level design for their new system at a dev meeting and the team listened politely. Then, after reviewing his diagrams, some of the members of the dev team concluded that he has created a great deal of complexity in one area that they think is overkill. James hears about it from the project manager three days later. He feels pretty strongly that the complexity is called for. Evaluate the situation. What dynamics are at play? James comes to you for advice: what do you tell him?

B. Let's say that you have 10 systems in an infrastructure. One of them provides the list of all customers, while another provides the list of all orders. You want to keep the systems as decoupled as possible but they need to share data in real time. What mechanisms do you put in place to keep the systems independent, yet fully integrated? Describe the steps you would follow to replace the system that holds orders.

C. Draw the architecture of one of your most complex systems on the white board. Now:

  • What made you partition the system in this way?
  • What data entities are mastered by your system? Which components are responsible for actually writing the key data about each entity?
  • What changes do you predict the business will want in the next 2-5 years in this system? How will the architecture cope with those changes?
  • What system quality attributes did you consider most paramount when designing this system? What attributes did you sacrifice?

D. The architectural council has invited you to join. They perform periodic reviews on major projects. You attend and a project comes before the council that has not been reviewed before. It is a medium-sized project for your company (your company will perform between three and six projects of this size each year on average). It consumes data from other systems in real time, creates transactions in other systems, and produces data for reporting. The following artifacts are provided. What additional information do you ask for? What risks are you concerned about?

Logical Data Model showing every data entity in the system's database
Deployment Diagram
Class-level architectural diagram illustrating the use of design patterns
E. You review the code of a junior developer, and you see a call where the developer is passing a structure. The structure contains 25 different values as parameters to the method being called. The structure is used only to pass parameters to this one method call. You ask why the call needs so many parameters, and it turns out that it is used in about eight different places in the code, and each one has a slightly different need, so the routine will look to see what parameters are passed to decide what to do. The code for the method is complex, and contains many examples of code like this:

if (paramx != null)
do_something_specific(paramx);

What patterns do you discuss with your junior developer? What options do you consider? Do you advise the developer to change the code? Why?

F. Pick one of the following practice areas and describe the ideas and concerns that led to this area of software development practice, what the practice entails, the benefits that can be achieved, and the negative consequences that may be observed by teams engaged in the practice. Note: I may pick one for you... be prepared to be asked about any of them. (If you were to ask: "why this particular list?" I'd turn that around and ask you why I picked this list... )

Service Oriented Architecture
Test Driven Development
Aspect Oriented Programming
Dependency Injection / Inversion of Control
Software Factories
G. Mary is a fellow architect with a problem and she has come to you for advice. She is producing an impact analysis on a system we will call "Charlie". The Charlie system gets an hourly feed of data from another system called "Bravo." The Bravo system is scheduled to be replaced by an altogether new system called "Romeo" that will organize the data in a completely different way. Unfortunately, this will radically affect the data feed from Bravo to Charlie. Not only will it vanish, but any feed from Romeo will be structured and organized in a completely different manner than it was before. Mary needs to develop a roadmap to allow this change to occur. What advice do you give her?

Monday, January 11, 2010

Hibernate

https://www.hibernate.org/343.html

Hibernate is a tool which makes transparent database operations.  It converts database object to .Net Object.  So no need to deal with SQL code.  Hibernate does it handy.

Teams PowerShell

 The PowerShell helps to get quick meta data around Teams. Install-Module -Name MicrosoftTeams Connect-MicrosoftTeams Get-TeamAllChannel...