App Service Editor in Azure Portal

Just like me, if you are after online editing in Azure portal for your deployed webapps or app service,  you can do it using Portal > websites > <Your Wesite>

Look for App Service Editor (Preview) > Click Go -> on the right pane.

editor

Enjoy editing!

Advertisements

MEAN stack

Developing on MEAN has always been a fun. Especially middleware in express.js. the amount of knolwedge required is limited and pretty easy to go if you are experienced in web server techs. 

I am finishing my complex website and a eCommerce platform. The objective is to build customer centric website driven by backend through configurability and dynamic data.

Technology stack 

  • Node.js
  • Express
  • MongoDB
  • APIs
  • Html5/css3

AngularJs Header manipulation

XMLHttpRequest cannot load {/api/call}. Request header field Authorization is not allowed by Access-Control-Allow-Headers in preflight response.

TypeError: Cannot convert object to primitive value

if you are using Angular.js 1.4.0 or later, use header : to manipulate rather than transformRequest:

var req = {
method: ‘GET’,
url: ‘api/call’.format(password, username),
headers: {
‘Authorization’: undefined
}
};

$http(req)
.
.success(function(response) {
console.log(response);
callback(response);
})
.error(function(err) {
console.log(err);
callback(response);
});

Missing type map configuration or unsupported mapping. Mapping types: IDataReader -> List`1 System.Data.IDataReader ->

You will often find this error when converting IDataReader to POCO. There are 2 resolutions here –

if you are using Automapper 4.0 or above, check MSBuild probably have deleted Automapper.Net4.dll in bin folder, if it is, restore it.

Second, IDataReader is unsupported from Autoamapper. you can use below 4.0 (or 3.1.1), which supports IDataReade, unless you are not using specific version features.

Invoke or Run IIS Express x64 with VS2012.

For some reasons, you may have to run IIS Express x64 from VS2012. For later versions, it is automatically instantiated, however in case of VS2012, it isn’t. And there is no way Microsoft provides any patch or upgrade.

Although there is untestable hack or trick which did work for me.

You have to modify registry to invoke or run IIS Express x64.

Create batch file (*.bat) and put below code.

reg add HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\11.0\WebProjects /v Use64BitIISExpress /t REG_DWORD /d 1

VB6 after long time…

Yeah… Even its a surprise, VB6 still rules the world and rules my life.. I cannot say No to VB6 jobs – I don’t know why and thats why I got engaged with one of the VB6 project which requires some fixes and I love to take this opportunity.

All though – world has changed from XP to Win 7 to Win 8 and now Win 10, VB6 application and development with support still rules in some part of the world. It has been days that I’ve been trying to port VB6 environment on Win7 64 bit, but some or the other case it failed. Surprisingly, it loaded on Win10 without much issues and after some tweaks. However, it was too difficult to load it on Win7 x64 bit … Not sure why. Nevertheless, managed to load it on machine.

If you have some issue, just share it across I may help.

#Enterprise #Architect with/and #Agile

An enterprise architecture is a disciplined approach envision to take business from current stage to next stage. It boils down to making sure an organisation’s systems harmoniously work together to meet the business objectives and different views. It is a process of developing capabilities, defining principles and frameworks which helps during implementation.
It is often observed, architecture has slowed down the process of development teams, because they carry bigger picture and had a long-term vision. On the other hand, engineering team have evolved, and they’ve evolve a lot more quickly than architectures. This is because challenges and lessons learned from past deliveries have forced them to evolve and act on business changing needs. I’ll skip other software development cycles for the sake to keep this short. In recent years, agile has improvised the way the software has been delivered – by keeping it simple to deliver what is asked to, deliver in chunks rather than big-bang, deliver what it is required against what was required, easily mitigate the risks, early assessment, dealing with changing requirements. This has helped development to pace up with business, yet with quality delivery.
It is necessary to understand that the starting point when architecture starts to meet business expectations, may have changed at the time they finished. The similar approach to deliver has to be taken by architecture. Today’s architecture cannot deliver business vision based on discussion held few years back. EA should visualise how the process of delivering the facilities to engineer team should streamline and address the ever changing needs and re-evaluate the decisions as requirements change. Although, we are talking about the vision and delivery of vision, the key aspect is how EA can improve their deliverables and keep with the pace of business needs, w/o compromising their goals, principles, guidelines, and meeting common issues. It’s time to transition ourselves naturally and have more engagement with the projects. This will bring more agility in the process.
It seems Agile methodology of delivery projects can help EA to assess the key goals and drivers from time to time. It is tricky how the integration will help so that EA should not over-engineer and delivering what business is looking for and changing their approach based on change requirements. It is important to understand how Agile team will cope up such deliverables when it is not a monolithic project delivery. It’s time to look beyond the horizon and accept the key challenge of ever changing and define the strategy to mitigate this risk. This could reassess the designs from time to time, follow best practices, introduce iterations within the architecture delivery phases, bringing more agility, introduce or co-work with agile model driven development focusing on model, vision, and feedback.

Blog at WordPress.com.

Up ↑

%d bloggers like this: